This a proof of concept for building COBOL to WebAssembly
Builds and installs the GNU Multiprecision Library GMP (dependency of GNUCOBOL)
Builds and installs GnuCOBOL
Builds an LLVM bitcode version of GMP
Builds an LLVM bitcode version of libcob
Transpile COBOL source to C using GnuCOBOL
Build WebAssembly (and helper JS) using emscripten, linking in the GMP and libcob bitcode
The whole development environment is contained in the .devContainer
directory.
Use Docker and the containers remote extension for VSCode to reliably reproduce this environment