Skip to content

Pl4tt/Brainfuck_Interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Brainfuck Interpreter

An interpreter for the brainfuck programming language written in python.

  • Usage in command line:

    python <name_of_interpreter_file> <name_of_the_bf_file>
    
    name_of_interpreter_file is for example "brainfuck.py"
    name_of_the_bf_file is for example "example.bf"
    
  • Usage as a module:

    import brainfuck
    
    code = ",.,.,."
    brainfuck.interpret(code)

    or

    import brainfuck
    
    brainfuck.interpret_file("filename.bf")  # or your own filename

    "brainfuck" should be replaced by the file name of the brainfuck interpreter if it was changed.

About

An interpreter for the brainfuck programming language written in python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages