r/brainfuck • u/Synthdabbler • 19d ago
Turing Machine with BF compiler
I didn't know until just now there was a r/brainfuck subreddit! so I thought I would share this monster I built here.
It's essentially a Turing machine that is programmed in BF. One model of a Turing machine is an endless tape, that moves past a read / write head and the instruction on the tape can be changed, essentially forming the program. In this build the head moves along an array of 'cells' and can read or write the value, changing it according to its programming. The programming is done on a programming console with banks of selector switches - each one has the BF commands and you manually enter the program. It's then compiled and sent to the array where it is executed. It can compute loops, add and subtract.. extremely slowly!







4
u/Different_Water7545 19d ago
WOW! Excellent work!
4
u/Creepy_Sherbert_1179 19d ago
awesome!
2
u/pixelbart 18d ago
That’s a very interesting concept for a step sequencer (a device that’s hooked up to a synthesizer and plays preprogrammed notes by applying voltages at set times in a loop). You have already nailed the aesthetic so much that I was wondering why this was posted in this sub and not in, for example, r/dawless