Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aermoss/simplecompiler

A simple programming language frontend written in Python using LLVM.
https://github.com/aermoss/simplecompiler

compiler lexer llvm llvm-ir llvmlite parser python simple-compiler

Last synced: about 1 month ago
JSON representation

A simple programming language frontend written in Python using LLVM.

Awesome Lists containing this project

README

        

# 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!"
```c++
#include

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