Skip to main content

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


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page