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
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 Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb878c50d6bb8be51b4ae54ac5345e97dd203e8f36a65098a1f55f43f806a111
|
|
| MD5 |
0a5de936494b52082f52cbc95750b2db
|
|
| BLAKE2b-256 |
605b6eada5525cab34adbd2ef7e644092291df3ad1e007e135c0519432b383df
|
File details
Details for the file bfpy_package_brainy7890-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bfpy_package_brainy7890-0.1.0-py3-none-any.whl
- Upload date:
- Size: 1.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44bde3ae8480421aa1a1cc38e6c6d43adfee6c442a8f46a4c80ebd96a3d68947
|
|
| MD5 |
86a2595423757f9bfb9b812bde55668d
|
|
| BLAKE2b-256 |
38773d908025efb963a5f68b8b338ce2df8f969e3249e01170e1ad9c97b99ff9
|