transpiler
transpiler copied to clipboard
Console Errors When translating from JS
I tried to translate nimn.js in prolog and other languages. But it gives so many errors on console. Is there any guide which can help me?
@amitguptagwl did you mange to find a way to use this?
nope :(
@jarble Any idea what's causing this? Thanks:d
I saw errors on comments and numbers... js to c#
Universal-transpiler only works with a small subset of JavaScript. It is able to translate simple mathematical functions and predicates into many languages, but it is not yet able to translate programs like this one. To translate more complicated JavaScript functions into C#, you can use a compiler like Bridge.NET.
I ended up using a V8 wrapper to run the js natively, but it's sort of clunky...