Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 1.09 KB

README.md

File metadata and controls

20 lines (15 loc) · 1.09 KB

Brainfuck

This is some code written in brainfuck, a simplistic, esoteric programming language, with only 8 instructions, it is turning complete.

brain fuck consists of 8 characters.
> move the data pointer right
< move the data pointer left
+ increment the current cell
- decrement the current cell
, get 1 byte of user input
. output the current cell value in character form
[ if the current cell is 0 jump forwards to the instruction after the next ]
] if the current cell is non-0 jump backwards to the instrucytion after the previous [

I have also made a brainfuck interpreter in google sheets, I made this to be a learning tool, it executes the code slowly so the user is able to see what happens as the programme steps through the code.

interpreter picture

Computer

I am Currently developing a computer PCB to run on bf code, I will upload the schematics once I have made more progress.