From 958e821bf9e56267ec9b6759d4503ab8cb38fb15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yusuf=20Ren=C3=A7ber?= <86446300+Aermoss@users.noreply.github.com> Date: Tue, 5 Jul 2022 01:33:47 +0300 Subject: [PATCH] Update README.md --- README.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 11861e5..106d343 100644 --- a/README.md +++ b/README.md @@ -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 + +int main() { + print(120); + return 0; +} +```