4 ms·
What are the good options to convert from Javascript to Java or to other high level languages?
by ggonweb 11y ago
What are the good options to convert from Javascript to Java or to other high level languages?
- renaudpawlak 11y agoTranspiling from an untyped language to a typed one would give you horrid results in most cases. The practical way would be to use TypeScript to compile your program (JavaScript programs compile fine with TypeScript) and start to manually transform your JavaScript code to add objects and types. That said, that would be a really cool tool to have...
- ggonweb 11y agoHas anybody tried Mozilla Rhino https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Rhino/JavaScript_Compiler https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Rh...