This program is an interpreter for the brainfuck esoteric programming language in python. The brainfuck language has only 8 simple commands:
![image](https://private-user-images.githubusercontent.com/138774014/317991004-c77ece93-8706-443a-b965-54141e4cbf80.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxOTA2NDEsIm5iZiI6MTczOTE5MDM0MSwicGF0aCI6Ii8xMzg3NzQwMTQvMzE3OTkxMDA0LWM3N2VjZTkzLTg3MDYtNDQzYS1iOTY1LTU0MTQxZTRjYmY4MC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxMFQxMjI1NDFaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0yNDU1NjVmNjI0ZDg5ZjI1YzBkNzg4YzdhY2NjZWZlYzA1MjRkYzFiYzYwZjhiZDRiNTU4ZTBhODRmNjA3MTRkJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.ZIZZIaVWynvEFkgklqGCRufISomCg5-xacEYuotnGp0)
Note that decrement to 0 gives 255 and increment to 255 gives 0 as the cells are wrapped.
-
Download the zip file and extract it.
-
Write your brainfuck program on any text editor.
-
Open Terminal and enter the following code to run the brainfuck program:
python <path>\bf.py <file_path>\<file_name>.bf
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