brainfuck-interpreter-1.0.0
توضیحات
An object-oriented highly flexible brainfuck interpreter.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | brainfuck-interpreter-1.0.0 |
| نام | brainfuck-interpreter |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Mike A. |
| ایمیل نویسنده | dismissed.is.a.guy@gmail.com |
| آدرس صفحه اصلی | https://github.com/DismissedGuy/brainfuck-interpreter |
| آدرس اینترنتی | https://pypi.org/project/brainfuck-interpreter/ |
| مجوز | - |
# brainfuck-interpreter
An object-oriented highly flexible brainfuck interpreter.
## Why?
Even though there are probably countless of other options,
I've made this because I found other projects were too high-level for me
and didn't provide much control over the interpreter.
This module, however, allows the developer to access, modify and
control every piece of how the brainfuck is evaluated, making this
program superior to other projects.
It was also a fun project to work on in general.
## Features
* Object-oriented
* Easy to use
* Logging integration
* Allows streaming of brainfuck code
* Manual input/output stream control
* Manual interpreter stepping
## Examples
A basic example which should suit most usages of this library:
```python
import brainfuck
bf = '+[----->+++<]>+.---.+++++++..+++.[--->+<]>----.'
print(brainfuck.evaluate(bf)) # hello!
```
For examples featuring more control over the interpreter,
check out [the examples directory](examples).
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl brainfuck-interpreter-1.0.0:
pip install brainfuck-interpreter-1.0.0.whl
نصب پکیج tar.gz brainfuck-interpreter-1.0.0:
pip install brainfuck-interpreter-1.0.0.tar.gz