APACHE-2.0 License
npm install
.npm install
npm run test
llvm-as x.ll
ls -l x.bc
llc x.ll -filetype=obj
gcc x.o
./a.out
opt -Oz -S -o x.Oz.ll x.ll
# --metarenamer - rename everything
llc -mtriple=wasm32-unknown-unknown -O3 -filetype=obj one.ll -o one.o
wasm-ld one.o -o one.wasm -allow-undefined --entry "main"
To see WAT (see wabt):
wasm2wat -o one.wat one.wasm