Skip to content

LME v0.1.0

Latest

Choose a tag to compare

@Simit6155 Simit6155 released this 27 Sep 16:44
· 3 commits to main since this release
533eb43

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

  1. Download luna and test.lme below
  2. chmod +x luna
  3. ./luna test.lme
  4. ./out
  5. echo $? → should print the number from your .lme file