This program evaluates loop programs as described in the lecture 'Grundlagen der theoretischen Informatik 2'.
Project description
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
$ pip install loop-calc
Usage
To display all registers and steps of a loop program, run
$ loop-calc --debug ./path/to/program.loop
You can view all available options with
$ loop-calc --help
Have a look at the /examples
folder for a Fibonacci implementation in loop.
Author
👤 Fin Christensen
- Twitter: @fin_ger_github
- Mastodon: @fin_ger@mastodon.social
- Github: @fin-ger
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support
Give a ⭐️ if this project helped you!
📝 License
Copyright © 2019 Fin Christensen.
This project is GPL-2.0 licensed.
This README was generated with ❤️ by readme-md-generator
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file loop-calc-0.1.1.tar.gz
.
File metadata
- Download URL: loop-calc-0.1.1.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.29.1 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c0db2d4c73ebc0c39f2844e2122852f745c8c93520109f512f3697343a83931 |
|
MD5 | 5c4e23b1937a4d96d5e62dded313be98 |
|
BLAKE2b-256 | 884ddb825899ce834500f9d156f1bf1667b03d6caf376b792223206b6c700e82 |
File details
Details for the file loop_calc-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: loop_calc-0.1.1-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.29.1 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5469de4e13cdb0a9120f2096ebd1dcbabdf117b0a37df7c5761abbe49b270240 |
|
MD5 | 57753d8e2f7cd06bd622f6cf3e760bad |
|
BLAKE2b-256 | 6a100588692e2dd6a1e41a37c1ad2afc9fa72132157a289e8d595100a4bcf33f |