Re:Show HN: LiteScript
by TazeTSchnitzel on Sunday March 09, 2014 @02:36PM
(#7369365)
Is LiteScript much simpler than JavaScript, and so you're able to compile it to C more easily?
[ Parent
| on HN ]
Javascript 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.