https://github.com/fin-ger/loop-calc
Loop program evaluator for the lecture Grundlagen der theoretischen Informatik 2
https://github.com/fin-ger/loop-calc
Last synced: 3 months ago
JSON representation
Loop program evaluator for the lecture Grundlagen der theoretischen Informatik 2
- Host: GitHub
- URL: https://github.com/fin-ger/loop-calc
- Owner: fin-ger
- License: gpl-2.0
- Created: 2016-05-29T19:37:43.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-01-30T16:51:44.000Z (almost 6 years ago)
- Last Synced: 2025-09-17T01:26:12.512Z (4 months ago)
- Language: Python
- Homepage:
- Size: 43 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
Welcome to loop-calc 👋
> 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.
## Install
```sh
$ pip install loop-calc
```
## Usage
To display all registers and steps of a loop program, run
```sh
$ loop-calc --debug ./path/to/program.loop var1 var2
```
You can view all available options with
```sh
$ loop-calc --help
```
Have a look at the `/examples` folder for a Fibonacci implementation in loop.
## Author
**Fin Christensen**
> [:octocat: `@fin-ger`](https://github.com/fin-ger)
> [:elephant: `@fin_ger@weirder.earth`](https://weirder.earth/@fin_ger)
> [:bird: `@fin_ger_github`](https://twitter.com/fin_ger_github)
## 🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/fin-ger/loop-calc/issues).
## Show your support
Give a ⭐️ if this project helped you!
## 📝 License
Copyright © 2019 [Fin Christensen](https://github.com/fin-ger).
This project is [GPL-2.0](https://github.com/fin-ger/loop-calc/blob/master/LICENSE) licensed.