Skip to content

SrujanBhirud/CodeCraft-23-Brainf-ck-Interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Brainfuck intepreter

This program is an interpreter for the brainfuck esoteric programming language in python. The brainfuck language has only 8 simple commands:

image

Note that decrement to 0 gives 255 and increment to 255 gives 0 as the cells are wrapped.

How to use the interpreter?

  1. Download the zip file and extract it.

  2. Write your brainfuck program on any text editor.

  3. Open Terminal and enter the following code to run the brainfuck program:

     python <path>\bf.py <file_path>\<file_name>.bf
    

Access User Interface

Run the GUI.py file. Enter brainfuck code and user input in respective fields and click on the execute button.

Note: You can find sample codes for some brainfuck programs with images of them being run in terminal and using the User Interface. Credits for the code : https://en.wikipedia.org/wiki/Brainfuck

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages