Subj : Re: Compile the Javascript code to Bytecode. To : netscape.public.mozilla.jseng From : Martin Honnen Date : Sat Oct 01 2005 01:57 pm Alfred wrote: > Is there any tool that can compile the Javascript code into > Bytecode? That's to say, the input is the javascript code, and the > output is the bytecode. What kind of byte code are thinking about exactly? Rhino, the JavaScript engine implemented in Java can compile your JavaScript code to Java byte code as far as I understand: Spidermonkey also internally uses some byte code I think to which script code is compiled but I don't think that byte code is following some format that other run time engines or virtual machines currently around for other languages can also execute. -- Martin Honnen http://JavaScript.FAQTs.com/ .