add readme, gitignore

This commit is contained in:
milo 2025-09-26 14:22:46 -04:00
parent e137b76b0b
commit 7cbcaf8ccd
2 changed files with 22 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/scm2wasm
/*.wasm

20
README.md Normal file
View File

@ -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
```