WebAssembly (WASM) build of program

Pertinent source file: schrod_splitstep.cpp


Obviously, it would be really nice if you could edit this C++ source file, dynamically re-compile the WASM binary, then update the program displayed on the left. Unfortunately, I have no idea idea how to do this :(.
More WASM programs
Full source code