static void Main(string[] args) { var parser = new MiniLispParser(); try { using (StreamReader sr = new StreamReader(args[0])) { parser.Parse(sr.ReadToEnd()); } } catch (Exception ex) { Console.WriteLine(ex); } }
public void Initialize() { parser = new MiniLispParser(); standardOut = new StringWriter(); Console.SetOut(standardOut); }