brainfuck-fuck
Just a nice little brainfuck interpreter in Python.
Nope! This is brainfuck-fuck. You know there’s C, then C+, then C++? Well, there’s brainfuck, and now there’s brainfuck-fuck. Brainfuck-fuck is supposedly backwards compatible. So therefore this:
+++++++ [ > ++++++++++ < - ] > ++ . [-]<[-] ++++++++++ [ > ++++++++++ < - ] > +++++ .
does exactly the same thing as this:
=H.=i.
besides the fact that the first one uses two cells while the second uses one.
A full list of additions:
The = command. This sets the current cell’s value to the ASCII value of the character after the =. Therefore =H sets the cell to 72 (the ASCII value of H).
An if/else statement! The syntax is ? (code) : (code) !. When a ? is reached, it checks the current cell. If the current cell is 0, it skips to the corresponding :. Otherwise, it continues on until the :, then skips to the !. Thus + ? =Y : =N ! . prints out “Y” while ? =Y : =N ! . prints out “N”.
Functions! To define a function, use (@ symbol)(single ASCII character)(code)(pipe, |), e.g. @F+++++| (which simply adds 5). To call a function, use a caret (^) and then the ASCII character used to name the function, e.g. ^F (which calls the previously defined function F, thereby adding 5).
Metadata
Release files for brainfuck-fuck 2020.5.11
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-fuck-2020.5.11.tar.gz | 4.2 kB | Without provenance | Details for brainfuck-fuck-2020.5.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| brainfuck_fuck-2020.5.11-py3-none-any.whl | Python 3 | none | any | Details for brainfuck_fuck-2020.5.11-py3-none-any.whl |
Total release size: 10.2 kB
Release files / brainfuck-fuck-2020.5.11.tar.gz
| Download URL | brainfuck-fuck-2020.5.11.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb43132340a692772dea75552b64a5d82364c31a3e1d27a4d98237dc4c1952c1
|
|
BLAKE2b-256 checksum How to use checksums |
2eb32e0cfe90ae8e03bcd69bbd6d19f50b96f4dd79a6882b303f7a64522cddbb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.0 CPython/3.7.0
|
Release files / brainfuck_fuck-2020.5.11-py3-none-any.whl
| Download URL | brainfuck_fuck-2020.5.11-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1855c9007ffc77ea552296a16c72582b3dd199550aa1b5e418e31c9c4aed8a6f
|
|
BLAKE2b-256 checksum How to use checksums |
ed49145c2bafbaf635f21b9a14d3069b91ab81844a07d9c6747739855771ab79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.0 CPython/3.7.0
|
Security for brainfuck-fuck 2020.5.11
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.