private Pastel.PastelCompiler GenerateCoreVmParseTree( Platform.AbstractPlatform platform, Dictionary <string, object> constantFlags) { using (new PerformanceSection("VmGenerator.GenerateCoreVmParseTree")) { Pastel.PastelCompiler compiler = new Pastel.PastelCompiler( false, null, constantFlags, new InlineImportCodeLoader(), null, null); foreach (string file in INTERPRETER_BASE_FILES) { string code = LegacyUtil.ReadInterpreterFileInternally(file); compiler.CompileBlobOfCode(file, code); } compiler.Resolve(); return(compiler); } }
public string LoadCode(string path) { return(LegacyUtil.ReadInterpreterFileInternally(path)); }