A minimal language compiled into wasm bytecode
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

kou

A minimal language compiled into wasm bytecode

npm Travis code style: prettier

Language specification

Please refer to SPEC.md.

Demonstration

asciicast

Milestones

  • Tokenizer
  • Parser
  • Desugarer
  • Type checker
  • Code generator for wasm
  • 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

Reference

License

MIT