Take a look here.
It's a really neat project.
I am just wondering how do they generate exes out of javascript code.
I know they use TraceMonkey as their javascript engine.
Edit:
Here you can find an example at the bottom of the page
views:
111answers:
1
+1
A:
It looks like they just put the .js file into a zip container, and concatenate it onto the end of the jsdb executable. Apparently, when jsdb runs it checks for the .zip file and runs it. The JavaScript itself isn't compiled (except at runtime by the TraceMonkey engine), it's just included in the executable.
Matthew Crumley
2009-07-16 14:12:31
Thanks a lot :)
the_drow
2009-07-16 14:15:01