Skip to content

Lioncat2002/HelixLang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  • Fix issue with token parsing. Eg: while_test gets tokenized into 2 seperate tokens while and test
  • Variables support

Requirements:

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

Releases

No releases published

Packages

No packages published