Simple Brainfuck compiler for python
Project description
Simple brainfuck language interpreter for python.
Learn how to code brainfuck brainfuckmachine.execute("++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.", mode="char") #"Hello world!" brainfuckmachine.execute(",>,< [ > [ >+ >+ << -] >> [- << + >>] <<< -] >>.",input=[2,3],mode="int") #6 brainfuckmachine.execute([5, 3, 5, 2, [3, [3, 0, 3, 0, 2, 2, 1], 3, 3, [1, 2, 2, 0, 3, 3], 2, 2, 2, 1], 3, 3, 4]) # 012345[] instead of +-<>.,[] #6
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file brainfuckmachine-0.1.1.28-py3-none-any.whl
.
File metadata
- Download URL: brainfuckmachine-0.1.1.28-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32d513221a2505fb89168ee5d575ca44a1772617281496fbc0d15477d12b554a |
|
MD5 | 44a49644186d3cba20e6b84ce1b554f7 |
|
BLAKE2b-256 | 4280e9910b4073d169e536b3e5d84c4a3cfa1c446e5ebd2f53698cf2d4c9978a |