3 ms·
Can this be done for javascript?
by Vt71fcAqt7 4y ago
Can this be done for javascript?
- Ericson2314 4y agoYes
- corysama 4y agoJavaScript doesn't have a standardized bytecode. But, I suppose you could design one, describe it in C++ and run it through this tool. Then you would "just" need a JS source -> bytecode runtime compiler.
- LoganDark 4y agoLua doesn't have a standardized bytecode either, just so you know. The fact that PUC-Rio Lua uses bytecode at all is almost an implementation detail, besides the fact that you can dump it and reload it later. But the actual bytecode format and instructions are definitely implementation details and not standardized.