It uses the node.js compiler to compile code. The JavaScript text editor also supports taking input from the user and standard libraries. Javascript's not my area so I can't recommend any particular mechanism, I'm afraid - but I'd be very surprised if V8Juice, which you've already found, didn't let you do this. The user friendly JavaScript online compiler that allows you to write JavaScript code and run it online. This means you don't need to translate anything. so shared libraries, which you can now load and run from your Javascript code. This would allow people to write plugins in C, compile them into. These will allow your Javascript code to call out to C code and vice versa. You may want to look at writing C bindings for Javascript instead. And that's not even considering eval(), which will let you construct arbitrary chunks of Javascript in strings and run them.Īny Javascript translator would have to be able to cope with such things, which means it would have to translate the Javascript into C at run-time - which makes it a JIT, which you're already using. Very, very tricky - Javascript is a heavily dynamic language where pretty much everything can be changed at run time: names of variables, functions, types, etc.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |