Example #1
0
 public static CompileResult CompileResult(string source)
 {
     var compiler = new Compiler(new PsiNodeParser());
     var result = compiler.Compile(source, "teszt.psi");
     return result;
 }
Example #2
0
 public static Program Compile(string source)
 {
     var compiler = new Compiler(new PsiNodeParser());
     var result = compiler.Compile(source,"teszt.psi");
     return result.CompiledProgram;
 }