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
Close
Hashes for brainfuckmachine-0.1.1.28-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32d513221a2505fb89168ee5d575ca44a1772617281496fbc0d15477d12b554a |
|
MD5 | 44a49644186d3cba20e6b84ce1b554f7 |
|
BLAKE2b-256 | 4280e9910b4073d169e536b3e5d84c4a3cfa1c446e5ebd2f53698cf2d4c9978a |