https://github.com/clpi/idl
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/clpi/idl
- Owner: clpi
- License: mit
- Created: 2021-12-30T10:09:16.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-10T21:56:12.000Z (over 4 years ago)
- Last Synced: 2025-01-29T19:49:43.139Z (over 1 year ago)
- Language: Zig
- Size: 3.84 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# idlang + idlspec in zig
## About
- CLI and associated lib for idlang and idlspec, in zig (as an experiment and exercise for myself)
## Installing
- `wapm install clpi/idl`
- For installing the wasm-built binary
## Commands
- `idl sh|shell`: Runs the REPL
- `idl r|run `: Runs the idlang or idlspec file
- `idl b|build `: Builds the idlspec or idlang file
- `idl h|help|-h|--help`: Prints out the help/usage
## Build utility script
- `./x.sh wasm`: Builds idl.wasm to root directory
- `./x.sh wasmr `: Builds idl.wasm and runs with RT
- `RT=wasmer`: Builds with wasmer
- `RT=wasm3`: Builds with wasm3
- `./x.sh run`: Builds and runs
- `./x.sh build`: Builds to zig-out
- `./x.sh shell`: Builds and then runs the shell
## More info
- Go to [my site](http://clp.is/projects/idl) for more info
- For more info about idl (the engine) go [here](http://is.idl.li)