kou
v0.3.0
Published
A minimal language compiled into wasm bytecode
Downloads
3
Readme
kou
A minimal language compiled into wasm bytecode
Language specification
Please refer to SPEC.md.
Demonstration
Milestones
- [x] Tokenizer
- [x] Parser
- [x] Desugarer
- [x] Type checker
- [x] Code generator for wasm
- [x] Basic codegen
- [x] Complex types and expressions
- [ ] Codegen for string
- [ ] Module system
- [ ] JS interop
- [ ] IO
- [ ] Bootstrapping
Install
npm i -g kou
Usage
Compile:
kouc hello.kou -o hello.wasm
# For the detailed usage
kouc --help
Run in CLI:
kou hello.wasm
# For the detailed usage
kou --help