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:
import brainfuck
bf = '+[----->+++<]>+.---.+++++++..+++.[--->+<]>----.'
print(brainfuck.evaluate(bf)) # hello!
For examples featuring more control over the interpreter, check out the examples directory.
Metadata
Release files for brainfuck-interpreter 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| brainfuck-interpreter-1.0.0.tar.gz | 3.1 kB | Without provenance | Details for brainfuck-interpreter-1.0.0.tar.gz |
Release files / brainfuck-interpreter-1.0.0.tar.gz
| Download URL | brainfuck-interpreter-1.0.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6059fef0f12628ccd8e2fa66e8b8947af56d79373ae7f0a8a2cd89ae05c2f317
|
|
BLAKE2b-256 checksum How to use checksums |
c53a80cf25c5068dcf475c52dedceb863fea3ffd62badfa3d7a5406b3a766a7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.0
|
Security for brainfuck-interpreter 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.