I have a survey compiler that compiles to c++. Using this, I could compile the generated code to JS and get an html like app for free and in no time at all.
emscripten is something on similar lines. If you pass --html to the compiler, it generates and html file which when you browse will run your program.
Further, I have seen that you can pass a JavaScript file to emscripten. I asked on the emscripten irc, if I passed Jquery UI or Dojo toolkit as the JavaScript file to be embedded, could I have a UI Widget System embedded. But one of the logged in persons said, no one had asked about something like this.
emscripten is something on similar lines. If you pass --html to the compiler, it generates and html file which when you browse will run your program.
Further, I have seen that you can pass a JavaScript file to emscripten. I asked on the emscripten irc, if I passed Jquery UI or Dojo toolkit as the JavaScript file to be embedded, could I have a UI Widget System embedded. But one of the logged in persons said, no one had asked about something like this.