A low-level, data-oriented programming language.
module hello
square :: proc(a: int) -> int { return a * a }
main :: proc() -> int { return square(4) + 26 }
- Records, slices, unions, bit sets, polymorphism with
where. - A context that each call sees, changed with
push_context. - Code that runs at compile time with
#run. - The same output, byte for byte, for the same input.
Under construction: install, downloads and benchmarks come with the first release.
Credits
- Odin, by Ginger Bill: the base of the language.
- Jai, by Jonathan Blow: the context,
#runand the build program. - chibicc, by Rui Ueyama: the C compiler of the bootstrap.
- The RAD Debugger: the arenas and scratch arenas.
- Braun et al., Simple and Efficient Construction of SSA Form: the IR.
- Latin Modern, by GUST: the typeface of the logo.