Lemon programming language
WIP
Lemon is a simple programming language built around tensor ops and leverages LLVM to optimize and compile.
The goal is:
- Systematic exploration of LLVM, IR generation and optimization passes.
- Create a simple language that is capable of implementing simple ML concepts.
Features:
- Types: float, tensor
- Conditionals: if/else, for
- Functions
mkdir build
cd build
cmake ../
make
I added an alias to zsh rc that directly triggers the executable.
alias lemon="<path-to-executable>/lemon <"
So I can use it in CLI like: lemon test.lem
Note: This still uses <, it is more of a "hack".