Skip to main content

A simple python package that interprets and compiles Brainfuck code.

Project description

BfPy

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

USE:

from BfPy import BfInterpreter
from BfPy 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_package_brainy7890-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_package_brainy7890-0.1.0-py3-none-any.whl (1.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bfpy_package_brainy7890-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_package_brainy7890-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cb878c50d6bb8be51b4ae54ac5345e97dd203e8f36a65098a1f55f43f806a111
MD5 0a5de936494b52082f52cbc95750b2db
BLAKE2b-256 605b6eada5525cab34adbd2ef7e644092291df3ad1e007e135c0519432b383df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bfpy_package_brainy7890-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 44bde3ae8480421aa1a1cc38e6c6d43adfee6c442a8f46a4c80ebd96a3d68947
MD5 86a2595423757f9bfb9b812bde55668d
BLAKE2b-256 38773d908025efb963a5f68b8b338ce2df8f969e3249e01170e1ad9c97b99ff9

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