public Program(string CodeToExecute, string ComputerRef) { scope = new Scope(GlobalGenerator.Generate()); parser = new Parser(); terminal = new Terminal(ComputerRef); scope.parser = parser; parser.scope = scope; scope.program = this; scope.code = TokenCompiler.MatchToken(CodeToExecute); scope.callstack.Push(new CallTarget(scope.code, scope.globals)); }
public NTSLService() { TokenCompiler.EnsureInitialized(); }