py.bf: Python interpreter and C transpiler/compiler for brainfuck
Project description
pybf
pybf
contains a Python interpreter and a C transpiler/compiler for brainfuck.
Installation
pip install ng.pybf
Usage
CLI
usage: pybf [-h] [-p] [-c] [--compile] [-r] [filename]
Python interpreter and C transpiler/compiler for brainfuck
positional arguments:
filename path to bf file; leave blank to read from stdin
options:
-h, --help show this help message and exit
-p, --python use Python to interpret and run
-c transpile to C
--compile compile the transpiled C file
-r, --run execute
You may also call it as a Python module
python3 -m pybf [-h] [-p] [-c] [--compile] [-r] [filename]
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 Distributions
File details
Details for the file ng.pybf-1.0.2.tar.gz
.
File metadata
- Download URL: ng.pybf-1.0.2.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bdc0b1b6f4bb5c0ebfc37a00774d56467bef2d92fad50fdd2ee453b9a7d10c4 |
|
MD5 | 1b90d88fbbea67d40bff35607d2f615c |
|
BLAKE2b-256 | b950be9dce2092be5aeba1817e9530d18a4622e268b513839eb42db1dee11efd |
File details
Details for the file ng.pybf-1.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: ng.pybf-1.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 123.7 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ebefd39e7eb3d0e6b8f1a28451e15e34984f5dc51de1b41ecae12503373dba4 |
|
MD5 | 4b60644562238211812f5273eb7dc7bd |
|
BLAKE2b-256 | 573bf79c28d3694f8cc0117b9b402ccad9e1d0eeb175586e69b5ab3acb18ea98 |
File details
Details for the file ng.pybf-1.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: ng.pybf-1.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 122.8 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6778331cf90eff6b4c2725b7fedf6c8ec606e0f280fde33c2bc7f4480b6d49a5 |
|
MD5 | cab88ff2ea4225ba35fbc30ce48ef24a |
|
BLAKE2b-256 | 5358c3defc927ae4c67dc5b074b013a3a004bbb13386f7e6f3dca88ad8f94a0b |
File details
Details for the file ng.pybf-1.0.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: ng.pybf-1.0.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 125.2 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ i686, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4db74fab579e558c6e7bda5d0881f934ffd385321065eba42ca2de076ea25c7 |
|
MD5 | d02fbb8c00f2640e2b6c6ba600e75774 |
|
BLAKE2b-256 | 171f8b7fd12cc342789f0ae406cc800e81d2f74cc4f6d598e955bbbb93945667 |
File details
Details for the file ng.pybf-1.0.2-cp311-cp311-macosx_10_9_universal2.whl
.
File metadata
- Download URL: ng.pybf-1.0.2-cp311-cp311-macosx_10_9_universal2.whl
- Upload date:
- Size: 124.2 kB
- Tags: CPython 3.11, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c71079d3dd076967d3f3eb66c614ee9bca3b7df2dafe04ec8d3d6cf0d909afce |
|
MD5 | a8eebacb3becf9411b15201dad62528a |
|
BLAKE2b-256 | bddf1b124f3c94794d6e3788ebd9cf8892d8060092021a5b9e062793674db6de |
File details
Details for the file ng.pybf-1.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: ng.pybf-1.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 123.8 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f0ca1f7ee12d13283dc4d068d78e0c0268b30d4223be68c78e34a69ac47c7dc |
|
MD5 | 4bee867d5cb17da587df1bdc5b8308df |
|
BLAKE2b-256 | d8b4578b62746bd3088a00e5a80ee1ef343888bc213925ff05ad598c089b61cb |
File details
Details for the file ng.pybf-1.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
- Download URL: ng.pybf-1.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 122.8 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bcadba2785bd55bccdf8b14bd495c2b34eadc674a225b6695f399c277fa0fd7 |
|
MD5 | b7e43d2cd0cfb1585a1cc4a74af1b706 |
|
BLAKE2b-256 | 890b6f683591c9cf6aee1ccc2972e19d168ce895734dea4279b6aafabc28df2d |
File details
Details for the file ng.pybf-1.0.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: ng.pybf-1.0.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 125.9 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ i686, manylinux: glibc 2.5+ i686
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32d2606042f9e586b77e78491bc87c2f6d71cc114e2e879d2cdfce0e74cfba28 |
|
MD5 | b9b4be12d9942c05f75b863e13a7e0df |
|
BLAKE2b-256 | c5868cd5b773132425e41cfde95e3eedf41a73f0941de2f237e3684ae84c4784 |
File details
Details for the file ng.pybf-1.0.2-cp310-cp310-macosx_10_9_universal2.whl
.
File metadata
- Download URL: ng.pybf-1.0.2-cp310-cp310-macosx_10_9_universal2.whl
- Upload date:
- Size: 125.5 kB
- Tags: CPython 3.10, macOS 10.9+ universal2 (ARM64, x86-64)
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 617e0513c974145ce6a125a2944420e08e37fc71da4af38d361a66651e517c07 |
|
MD5 | c9141ad973a331110e5007204380805f |
|
BLAKE2b-256 | 723425371f3042c87db4bc6ed0c6d3fcfebf2e1a0e939c499d76a0ff9c28946c |