CLI Reference
Commands
kira run <file>
Compile and execute a Kira source file:
kira run hello.kikira check <file>
Type check a file without running it:
kira check hello.kikira build <file>
Compile a Kira file to C:
kira build hello.kikira build --lib <file>
Build a library for consumption by other languages:
kira build --lib mylib.kiProduces: mylib.c, mylib.h, mylib.kl, mylib.json
See Building Libraries for details.
kira build --emit-header <file>
Generate only header and Klar interface files (no C codegen):
kira build --emit-header mylib.kikira build --manifest <file>
Generate only the JSON type manifest:
kira build --manifest mylib.kikira (no arguments)
Start the interactive REPL:
kiraSee the REPL Guide for details.