Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 425 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 425 Bytes

BrainFuck

Simple BrainFuck interpreter in python.

How to use:

You can either directly use the BrainFuck file or you can import it as a library.

For using as a library:

from BrainFuck import BrainFuck

# Accepts a single character and prints it back.
BrainFuck(",.")

For using directly.

python BrainFuck.py <brain_fuck_source>

A simple hello world program has been add as an example.