Felix Hao
Felix Hao
Thanks for pointing it out. I just added two helper classes to make running JSCPP in WebWorkers easier: https://github.com/felixhao28/JSCPP/tree/master#running-in-webworker It should be helpful for you. Debugging in WebWorker is supported...
> Is there any (known) missing feature of pure C (not C++)? Actually, there is a lot of missing features: 1. Most of the headers. [Here](https://github.com/felixhao28/JSCPP/tree/master/src/includes) is a very limited...
这个语法你可以参考 https://www.nongnu.org/hcb/#template-declaration ,模仿这里面写的东西去修改 ast.peg。改完了记得重新build对应的peg文件。
I don't really understand your intention. NodeOS runs JS libraries hosted on NPM. How does that relate to compiling C/C++ into .so files? Anyway, JSCPP is designed as an C++...
Interesting. So NodeOS can execute .so files as a part of a compiled module. In this case, how about compiling and packing LLVM and clang into .so files and then...
If node-gyp is in the core of NodeJS, then supporting it should belong to the core of NodeOS IMO. I mean there should be a built-in command like **gcc** that...
My point is, in this case, compiling C/C++ into native code should not be part of user-space behavior.
> What do you mean by "user-space" here? All installable programs are in user-space. Common OSs use binary code in user-space, but that's where NodeOS works differently by using JS...
> Probably, but it (wrapping LLVM and clang into a library with a JS cli) could be a difficult and time-consuming task, but definitelly it would be the compiling-time faster...
That's why JSCPP is called an interpreter. It can only detect grammar errors prior to execution.