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 details)

Uploaded Source

File details

Details for the file zombies-1.0.0.tar.gz.

File metadata

  • Download URL: zombies-1.0.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.2

File hashes

Hashes for zombies-1.0.0.tar.gz
Algorithm Hash digest
SHA256 5ddedd17132ffef3d1f6a265bdf26f1d9b45a6350a56f1af4caf968ebee35893
MD5 f13a9712d83eb0182a4c8589bc1cbec4
BLAKE2b-256 a0ca92e20b360834a0bdfaba4817301d68be9b3d46a96bfda74c633008a85338

See more details on using hashes here.

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