Simple Brainfuck to C transpiler
Project description
🧠 Brainfuck to C transpiler
Modules:
tokens
— contain all tokenstokenizer
— containtokenize
function
def tokenize(char: str) -> Token: ...
transpiler
— containtranspile
function
def transpile(token: Token) -> str: ...
code_generator
— containgenerate
function that generate valid C code from given tokens
def generate(list[Token]) -> str: ...
Install
pip install bftc
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
bftc-1.0.0.tar.gz
(9.9 kB
view details)
Built Distribution
File details
Details for the file bftc-1.0.0.tar.gz
.
File metadata
- Download URL: bftc-1.0.0.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c303bb4c78fac52defcbecb371cccf0d5d6178a4d70dd49422ee986db5e2ec4f |
|
MD5 | 7a4f877abf7e19e13de2be3e4deffc47 |
|
BLAKE2b-256 | 5e9123d4707c1a90841533bcfde14565daa623ee9a956c066c3c3790895102f6 |
File details
Details for the file bftc-1.0.0-py2.py3-none-any.whl
.
File metadata
- Download URL: bftc-1.0.0-py2.py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.25.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2832c25bdcef59d18b7897c4ed1b817a61c27e744e1933aa90750b003281c6af |
|
MD5 | 936b65aa06609b2f97c469109c182cc8 |
|
BLAKE2b-256 | 095818b582f40d8d0e3117ef3e373bbe3092c636339b851137326bc5192c9f9e |