示例#1
0
        public void StartRuntime()
        {
            InterpreterGreeting.Greeting.PrintIntroductoryBanner();
            string clientInput;
            var    _testInterpreter = new LISPInterpreterCore();

            while (true)
            {
                PrintPromptString(promptString);
                clientInput = Console.ReadLine();
                _testInterpreter.ParseAndPrintInputLine(clientInput);
            }
        }
示例#2
0
        public void StartASTDebugRuntime()
        {
            InterpreterGreeting.Greeting.PrintDebuggingBanner();
            string clientInput;
            var    _testInterpreter = new LISPInterpreterCore();

            // Begin the simple interpreter runtime.
            while (true)
            {
                PrintPromptString(promptString);
                clientInput = Console.ReadLine();
                _testInterpreter.ParseAndPrintInputLine(clientInput);
            }
        }
 public void LISPInterpreterCoreCanBeInstantiated()
 {
     var testObject = new LISPInterpreterCore();
 }
 public LISPInterpreterCoreTest()
 {
     _testInterpreter = new LISPInterpreterCore();
 }