diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e1f8f99 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/scm2wasm +/*.wasm diff --git a/README.md b/README.md new file mode 100644 index 0000000..383a52f --- /dev/null +++ b/README.md @@ -0,0 +1,20 @@ +# scm2wasm + +really bad minimal scheme compiler + +## building + +``` +$ make +``` + +## running + +``` +$ ./scm2wasm < input.scm > output.wasm +$ wasm-tools validate output.wasm +$ wasm-tools print output.wasm -o output.wat +$ wasmtime -Wgc --invoke start output.wasm +... +30 +```