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