v0.1.1
What's new
Language
exit() - instantly terminate the program from anywhere
if error:
exit(1)const - compile-time constants, folded directly into generated code
const MAX = 1000000
const PI = 3.14159static - local variables that persist across function calls
func count() -> int:
static n = 0
n += 1
return ninline func - hint to the compiler to eliminate call overhead for hot functions
inline func clamp(x: int, lo: int, hi: int) -> int:
return max(lo, min(hi, x))Other
- README rewritten - clearer install instructions and full language reference
- GitHub Stars badge added
- CI workflow now skips example files without a
mainfunction