a small language compiler written in C++ example program:
fn wrapper(n: number): number {
return n;
}
fn main(): void {
println(wrapper(12.34));
}
helix <filename>.hlx
- Help command at
helix -h
- Codegen using LLVM
- Operator support
- Loop support
- Conditionals support
- Fix issue with token parsing. Eg:
while_test
gets tokenized into 2 seperate tokenswhile
andtest
- Variables support
- LLVM 14
- Clang
- C++ 17
- Cmake 3.22 or greater