public TranspilersPlugin(Engine engine) { var transpiler = new Transpiler(engine); _transpiler = new Dictionary <String, Object> { { "toJavaScript", Wrap(transpiler.Js) }, }; }
public TranspilersPlugin(Engine engine) { var transpiler = new Transpiler(engine); _transpiler = new Dictionary <String, Object> { { "toJavaScript", Wrap(transpiler.Js) }, { "toCsharp", Wrap(transpiler.Cs) }, { "toCplusplus", Wrap(transpiler.Cpp) } }; }