Esempio n. 1
0
 public EvaluationContext(LanguageRuntime runtime, AstNode rootNode)
 {
     Runtime = runtime;
       ResizeUnassignedArray(64);
       CallArgs = CreateCallArgs(rootNode.Scope.Slots.Count);
       PushFrame("root", rootNode, null);
 }
Esempio n. 2
0
 public CompilerContext(LanguageCompiler compiler)
 {
     this.Compiler = compiler;
       this.Runtime = compiler.Grammar.CreateRuntime();
     #if DEBUG
       Options |= CompilerOptions.GrammarDebugging;
     #endif
 }