Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 435 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 435 Bytes

Simple Compiler

A simple programming language frontend written in Python using LLVM.

Getting Started

Building a program

python main.py build test.txt

Running a program (JIT Compilation)

python main.py run test.txt

Writing a simple program

There are only void's and int's in this language so we can't print out "Hello, World!"

#include <iostream>

int main() {
    print(120);
    return 0;
}