Skip to main content

A simple python package that interprets and compiles Brainfuck code.

Project description

Brainfuck Py

This is a simple python package that interprets and compiles Brainfuck code.

USE:

from brainfuck-py import BfInterpreter
from brainfuck-py import BfCompiler

interpreter = BfInterpreter()
compiler = BfCompiler()

bf = "+"*65 + "."

interpreter.interpret(bf) //Outputs A
compiler.compile(bf, "compiled") //Creates a program in your project's root folder with the name compiled along with C code of the same name.

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

bfpy_brainy-0.1.0.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bfpy_brainy-0.1.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file bfpy_brainy-0.1.0.tar.gz.

File metadata

  • Download URL: bfpy_brainy-0.1.0.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for bfpy_brainy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 006ac257f4c2598b906d7230fb6cb14a27888f41bfa31d93b286a9df9548a82d
MD5 1ca0ab3060db36a471abe254e5cc902c
BLAKE2b-256 31278666cd321f221dc3864d43a3eed759d38ec0768e4f3e4ff9d71834074523

See more details on using hashes here.

File details

Details for the file bfpy_brainy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: bfpy_brainy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for bfpy_brainy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3217192709de570f1a9f74526db484de5a7bd8827f9c4869ea1eb240fd9a467a
MD5 630f15ca739ee514f1907671cf750d45
BLAKE2b-256 4b595a67729a84494039161e82a9427eba49be6da97cdd224ad69ed6bf87429f

See more details on using hashes here.

Supported by

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