Another small step is made!

#WebNQC dev environment that runs in the browser is making progress. Now able to compile user-modifiable code on demand (button press). Took me some effort, but I am understanding emscripten+WASM and JavaScript a little bit better now.

Also published those latest changes, in case you want to play around yourself:
https://github.com/maehw/WebNQC

Next thing to do: integrate with the Web Serial API based download. I need to understand the binary output first. #Mindstorms

GitHub - maehw/WebNQC: NQC (Not Quite C) is a programming language for several Lego MindStorms products, including the RCX, CyberMaster, and Scout. This repo is used to compile NQC as WebAssembly bytecode (WASM) so that we can run it in a browser.

NQC (Not Quite C) is a programming language for several Lego MindStorms products, including the RCX, CyberMaster, and Scout. This repo is used to compile NQC as WebAssembly bytecode (WASM) so that ...

GitHub