Skip to content

jochasinga/py-brainfuck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

brainfuck

A simple Brainfuck interpreter written in Python.

setup

No deps. Just python >= 2.7.9 is required.

usage

Run as a command line tool

$ echo "++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++." | python brainfuck.py

Read a Brainfuck file

$ python brainfuck.py helloworld.bf

Use in another module

from brainfuck import interpret

interpret("++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.")

About

Simple Brainfuck interpreter written in Python

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages