kou
A minimal language compiled into wasm bytecode
Language specification
Please refer to SPEC.md.
Demonstration
Milestones
- Tokenizer
- Parser
- Desugarer
- Type checker
- Code generator for wasm
- Basic codegen
- 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