Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tanishiking/waml-docker
Dockerfile for build and running WAML
https://github.com/tanishiking/waml-docker
docker wasm
Last synced: 24 days ago
JSON representation
Dockerfile for build and running WAML
- Host: GitHub
- URL: https://github.com/tanishiking/waml-docker
- Owner: tanishiking
- Created: 2023-12-04T11:56:06.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2023-12-08T06:47:43.000Z (11 months ago)
- Last Synced: 2023-12-08T07:41:30.496Z (11 months ago)
- Topics: docker, wasm
- Language: Dockerfile
- Homepage: https://github.com/WebAssembly/gc/tree/waml/proposals/gc/waml
- Size: 1000 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## usage
See: https://github.com/WebAssembly/gc/tree/waml/proposals/gc/waml#usage
```sh
$ docker build . -t waml
$ docker run -it waml waml -x -c
waml 0.2 interpreter
> val f x = x + 7; f 5;
...# compile waml to wasm
$ docker run -i -v "$PWD":/data waml waml -c /data/test.waml# compile waml to wat
$ docker run -i -v "$PWD":/data waml waml -c -x /data/test.waml# convert wat to wasm
$ docker run -i -v "$PWD":/data waml wasm -d /data/test.wat -o /data/test.wasm# interpret wasm
$ docker run -i -v "$PWD":/data waml wasm /data/test.wasm
```