- Which object model & garbage collector system are you using? (in C)
- How do you handle scoping differences between JS/PHP/C?
- Which bignum and string libraries are you using in C? Is the String library fully unicode happy?
- How do you deal with 'eval', and other JS-specific functionality?
- You mention the classes being easily turned into C++ classes... how does that work with the dynamic nature of POJO objects, when at any time new methods and properties can be added to any object, or prototype?
With respect to PHP, I think it's simpler. The idea is to generate PHP but do not support all PHP quirks, just generate PHP code that is "js-like", (PHP mimics allmost all js functionality) and have support libs in LiteScript unifying APIS.
Some things like "eval" can throw a compiler error, when the target is PHP.
A few questions:
- Which object model & garbage collector system are you using? (in C)
- How do you handle scoping differences between JS/PHP/C?
- Which bignum and string libraries are you using in C? Is the String library fully unicode happy?
- How do you deal with 'eval', and other JS-specific functionality?
- You mention the classes being easily turned into C++ classes... how does that work with the dynamic nature of POJO objects, when at any time new methods and properties can be added to any object, or prototype?
Sounds intriuging, anyway...