Compile a simple V library into WebAssembly! Require Emscripten or Docker.
You need to install Emscriptem, make and V.
make
docker build -t emscripten-v .
docker run --rm -v $(pwd):/src emscripten-v:latest make
To see the output from the console, you need to run a simple web server. You can use python:
python -m http.server 8080
No credit required but appreciated - CC0