Run brainfuck code.
Project description
Run brainfuck code.
License
MIT
Installation
$ pip install zombies
Python Usage
import zombies
interpreter = zombies.BF()
code = '''
>+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.[-]
>++++++++[<++++>-] <.>+++++++++++[<++++++++>-]<-.--------.+++
.------.--------.[-]>++++++++[<++++>- ]<+.[-]++++++++++.
'''
interpreter.run(code) # Hello World!
# you can also run a .bf file
interpreter.run('helloworld.bf')
Command Line Usage
Run a .bf file
$ zombies helloworld.bf
Use the REPL
$ zombies
Brainfuck REPL made in Python | zombies 1.0.0a by The Master | License MIT
Type "stop" to exit
\\\ >>++<<+-
Code Formatting
All code should be formatted with black.
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
zombies-1.0.0.tar.gz
(4.3 kB
view hashes)