Skip to content

Latest commit

 

History

History
28 lines (25 loc) · 452 Bytes

README.md

File metadata and controls

28 lines (25 loc) · 452 Bytes

HelixLang

a small language compiler written in C++ example program:

fn wrapper(n: number): number {
    return n;
}

fn main(): void {
    println(wrapper(12.34));
}

Compile helix code:

  • helix <filename>.hlx
  • Help command at helix -h

Todo:

  • Codegen using LLVM
  • Operator support
  • Loop support
  • Conditionals support
  • Variables support

Requirements:

  • LLVM 14
  • Clang
  • C++ 17
  • Cmake 3.22 or greater