A subset and variant of the Pascal programming language written in Python. Rekia-Pascaline (Rekia/RPascaline for short) is an interpreted statically-typed programming language with focus on simplicity, and a great language for beginners.
- simple/complex expression parsing
- if/else if/else statements
- loops (while, for, repeat-until and from loop)
- functions and procedures (including nested functions/procedures)
- recursion
simply clone or download this repo
- Python 3.5 or later must be installed
on the terminal or command line, run:
pascaline.py -h
or pascaline.py --help
to get a list of options and help with running a pascaline source file.
pascaline.py -sf=sourcefile.psl
Inspired by Ruslan