Skip to content

A brainfuck interpreter in Python, with debugging and functions

License

Notifications You must be signed in to change notification settings

rbits0/bf-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bf-interpreter

A brainfuck interpreter in Python, with debugging and functions

Usage

python ./bf.py [-d] [-s] [-n N] [-b] [-f] file.bf

-s displays the memory while running the code

-d steps through the code while displaying the memory

-n is the number of memory locations to display when using -d or -s

-b disables breakpoints

-f disables functions

Breakpoints and functions

"*" will create a breakpoint

"*def myFunction" will define a function

"*func myFunction" will jump to a function

"*return" will return to where you jumped from

Remember to include the "*" before those keywords

Comments

Any text that does not include <>+-.,[]* will be treated as a comment

About

A brainfuck interpreter in Python, with debugging and functions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages