I have a program written in JavaScript.
I start it under Windows with "cscript program.js".
I would like to modify it, but unfortunately, I don't know JavaScript much.
So I imagined this might be my "workaround ":
1) compile JavaScript code into an .exe binary
2) decompile it into C/C++ code.
And I will have it rewritten into C/C++ (which I know better than
JavaScript) :)
Perhaps my approach is a bit naive, but maybe thera are any JavaScript
compilers, that produce binary .exe files out of the JavaScript code?
--
Tomek
I start it under Windows with "cscript program.js".
I would like to modify it, but unfortunately, I don't know JavaScript much.
So I imagined this might be my "workaround ":
1) compile JavaScript code into an .exe binary
2) decompile it into C/C++ code.
And I will have it rewritten into C/C++ (which I know better than
JavaScript) :)
Perhaps my approach is a bit naive, but maybe thera are any JavaScript
compilers, that produce binary .exe files out of the JavaScript code?
--
Tomek
Comment