It's a subset of foxbase language.
A = 1
? A
It supports add, sub, mult, div
for i=1 to 100
? i
endfor
python >= 3.7
pip install rply
pip install llvmlite
It generates llvm ir file, then you can use clang to compile it.
python3 main.py --build examples/hello.prg
Then it generates hello.prg.ll in examples
folder
clang -o hello hello.prg.ll
./hello
hello the world
python3 main.py --run examples/hello.prg
python3 main.py --run examples/fib.prg