Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ng.pybf-1.0.2.tar.gz (7.2 kB view hashes)

Uploaded Source

Built Distributions

ng.pybf-1.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (123.7 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

ng.pybf-1.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (122.8 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

ng.pybf-1.0.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (125.2 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

ng.pybf-1.0.2-cp311-cp311-macosx_10_9_universal2.whl (124.2 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64)

ng.pybf-1.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (123.8 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

ng.pybf-1.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (122.8 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

ng.pybf-1.0.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (125.9 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

ng.pybf-1.0.2-cp310-cp310-macosx_10_9_universal2.whl (125.5 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64)

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page