2018-06-20 15:13:49 +00:00
|
|
|
# land
|
|
|
|
|
|
|
|
A simple little "land" to run webassembly programs in.
|
|
|
|
|
|
|
|
## Building
|
|
|
|
|
2018-06-20 15:37:32 +00:00
|
|
|
### System dependencies
|
|
|
|
|
|
|
|
All should be the most modern or git head releases.
|
|
|
|
|
|
|
|
- [tup](https://gittup.org/tup)
|
|
|
|
- [wabt](https://github.com/WebAssembly/wabt)
|
|
|
|
- [Go](https://golang.org)
|
|
|
|
- [wasmception](https://github.com/yurydelendik/wasmception) (must be checked out and built at ~/code/wasmception for now, sorry)
|
2018-06-20 15:13:49 +00:00
|
|
|
|
|
|
|
### I have FUSE
|
|
|
|
|
|
|
|
```console
|
|
|
|
$ tup init
|
|
|
|
$ tup
|
|
|
|
```
|
|
|
|
|
|
|
|
### I don't have FUSE
|
|
|
|
|
|
|
|
```console
|
|
|
|
$ tup init
|
|
|
|
$ tup generate build.sh
|
|
|
|
$ ./build.sh
|
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
Not very usable outside of the tests in `cmd/land` yet :(. All webassembly modules require an exported function main that returns an i32. TODO: argv.
|