Luna v0.1.0
My own compiler from scratch, written in C++. Compiles a tiny custom language (Turkish keywords, .lme files) down to x86-64 assembly, then assembles + links it into a real Linux binary.
Currently supports one statement:
cik 42;
This compiles to a binary that exits with code 42.
Requirements
sudo apt install nasm binutils
How to run
- Download
lunaandtest.lmebelow chmod +x luna./luna test.lme./outecho $?→ should print the number from your.lmefile