Hi,
I read you were looking for ways to run cobol as native javascript in Node.js.
GNUcobol (http://sourceforge.net/projects/open-cobol/) is written in C and compiles via C to native.
Now if you compile the C code resulting from the cobol compilation to Javascript using emscripten you can convert Cobol to Javascript.
If you compile the cobol compiler itself using emscripten you could even do this on the fly if you'd feel the need :-)
The alternative is to manually convert the gnucobol compiler to Javascript and have it produce javascript directly. Not a complex task imho, but will take loads of time to develop :-)
Cheers,
Hans
Hi,
I read you were looking for ways to run cobol as native javascript in Node.js.
GNUcobol (http://sourceforge.net/projects/open-cobol/) is written in C and compiles via C to native.
Now if you compile the C code resulting from the cobol compilation to Javascript using emscripten you can convert Cobol to Javascript.
If you compile the cobol compiler itself using emscripten you could even do this on the fly if you'd feel the need :-)
The alternative is to manually convert the gnucobol compiler to Javascript and have it produce javascript directly. Not a complex task imho, but will take loads of time to develop :-)
Cheers,
Hans