Repository navigation
Chkoupi-lang v0.1.0
Usage
# Run a .dz file directly
chkoupi.exe myfile.dz
# Print LLVM IR
chkoupi.exe myfile.dz --emit-ir
# Compile to object file
chkoupi.exe myfile.dz --emit-obj out.oExample
Save this as BRI.dz:
dalla greet(n: tabi3i) -> fargh {
idha (n > 0) {
ektb("ana a chef!\n");
} idha_mknch {
ektb("wlh ma ana a chef\n");
}
}
dir x : tabi3i = 0;
ektb("hatli 5obzi: ");
a9ra(x);
greet(x);
Then run:
chkoupi.exe BRI.dz📖 Docs
See DOCS.md for the full language reference.