Getting Started
Install
Section titled “Install”The Kāra compiler, karac, is not published to crates.io yet — build it from
source. You’ll need a Rust toolchain and, for native
compilation, LLVM 18.
git clone https://github.com/karalang/karacd karacargo build --release --features llvmcargo build -p karac-runtime --release # runtime library for native buildsThe compiler is at target/release/karac; add it to your PATH.
Hello, world
Section titled “Hello, world”Create hello.kara:
fn main() { println("Hello, world!");}Build and run it:
karac run hello.karaOr compile a native binary:
karac build hello.kara./helloNext steps
Section titled “Next steps”Full language documentation is in progress. Until then:
- Browse the Kāra repository
- See real programs and benchmarks in kara-katas