Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Aermoss committed Jul 4, 2022
1 parent adf80b5 commit 958e821
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,22 @@ Simple programming language frontend written in python using llvmlite.

# Getting Started
## Building a program
`python main.py build test.txt`
```
python main.py build test.txt
```

## Running a program (JIT Compilation)
`python main.py run test.txt`
```
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 <iostream>

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

0 comments on commit 958e821

Please sign in to comment.