3 ms·
When I view the source code, it's just a javascript file, https://moxon6.github.io/cobol-js-emscripten/cobol-js/index.js https://moxon6.github.io/cobol-js-emsc
by elpg454 6y ago
When I view the source code, it's just a javascript file,
https://moxon6.github.io/cobol-js-emscripten/cobol-js/index.js https://moxon6.github.io/cobol-js-emscripten/cobol-js/index....
where is the cobol?
- brainless 6y agoYou mean this file? https://github.com/moxon6/cobol-js-emscripten/blob/master/cob/main.cob https://github.com/moxon6/cobol-js-emscripten/blob/master/co... I am still looking around so may be wrong.
- elpg454 6y agoI was looking to see how it is included on the actual website, do you reference a web assembly file from javascript ?
- moxon6 6y agoThat's the JS generated by emscripten for linking in the WASM, which is `index.wasm` `index.wasm` is built using the build scripts in the source repo `main.cob` contains the main logic used to generate `index.wasm` https://github.com/moxon6/cobol-js-emscripten/blob/master/cob/main.cob https://github.com/moxon6/cobol-js-emscripten/blob/master/co...