[sword-devel] SWORD + Emscripten = sword.js?
info at tetzels.de
Wed Mar 27 21:31:05 MST 2013
build a sword webapp, that runs in a browser and on modern smartphones.
Last week I've heard from Emscripten (www.emscripten.org), LLVM to JS
I've tried to compile libsword and my c++ plugin (that I use in BibleZ
HD, the webOS app), but with no success. The compilation works fine, but
I couldn't receive a list of modules or access them. I think emscripten
has some problems with std::map
To access a c++ lib the recommend way is to write a c wrapper. They have
a bindings generator for this, but is still very experimental.
I'll try to clean up my code and add some comments and upload it to
github, so somebody can play with it.
Emscripten is a very interesting project and maybe a way to build a
(there is zlib support for JS or nodejs), like the guy from
cross-connect did for C#.
More information about the sword-devel