Skip to content

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 14 Jun 01:13
· 10 commits to main since this release

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.14159

static - local variables that persist across function calls

func count() -> int:
    static n = 0
    n += 1
    return n

inline 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 main function