Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 697 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 697 Bytes

mindfuck Build Status on Linux

Small Brainfuck interpreter

Introduction

Brainfuck is an esoteric programming language with the goal of implementing it with the smallest possible compiler.

Usage

➜ python mindfuck.py [FILE]

You can also use it as a module.

#!/usr/bin/env python

import mindfuck

code = """
  ++++++++++[>+++++++>++++++++++>+++>+<<<<-]
  >++.>+.+++++++..+++.>++.<<+++++++++++++++.
  >.+++.------.--------.>+.>.
"""

mindfuck.eval(code)