2 ms·
Is LiteScript much simpler than JavaScript, and so you're able to compile it to C more easily?
by TazeTSchnitzel 13y ago
Is LiteScript much simpler than JavaScript, and so you're able to compile it to C more easily?
- lucio 13y agoJavascript itself it's not too hard to compile to C. The LiteScript added value will be to be able to test & debug as js, and then compile to C for production (adding all the boilerplate required for a nodejs extension). The only thing I see as "easier to compile to C" (LiteScript vs js) is that in LiteScript you define classes & properties, so it's easier to define a C++ class from a LiteScript class.