public RookCompiler(CompilerParameters parameters) { csTranslator = new CSharpTranslator(); csCompiler = new CSharpCompiler(parameters); }
private static CompilerResult Build(string path, out string translation) { var compiler = new RookCompiler(CompilerParameters.ForBasicEvaluation()); return(compiler.Build(File.ReadAllText(path), out translation)); }