Skip to content

silvanias/ByteMeIfYouCan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brainfuck Interpreter

This is a simple Brainfuck interpreter written in Python. Brainfuck is an esoteric programming language known for its minimalistic design, consisting of only eight commands.

Screenshot 2023-10-31 at 11 57 37

The language is also Turing complete.

Usage

Before running the interpreter, set the Python path:

$ export PYTHONPATH=.

Running the Interpreter

To enter the interpreter environment, use the following command in the root folder:

$ python interpreter/main.py

To run a Brainfuck script, provide the path to the script:

$ python interpreter/main.py temp_script.txt

For a quick demonstration of the interpreter, you can run:

$ python interpreter/main.py demo

Running Tests

To run tests, use the following command:

$ pytest -v

About

Brainf*ck interpeter written in python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages