This program evaluates loop programs as described in the lecture
Grundlagen der theoretischen Informatik 2
.
This software is written in python using pyparsing for language parsing.
$ pip install loop-calc
To display all registers and steps of a loop program, run
$ loop-calc --debug ./path/to/program.loop var1 var2
You can view all available options with
$ loop-calc --help
Have a look at the /examples
folder for a Fibonacci implementation in loop.
Fin Christensen
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
Copyright © 2019 Fin Christensen.
This project is GPL-2.0 licensed.