A Turing Machine built using LEGO
legoturingmachine.org
legoturingmachine.org
As I said there, I'm always deeply disappointed (less deeply as time goes by, I'm coming to expect it) when something like this in Lego is actually just a peripheral for a program running in silicon somewhere.
I no longer have any of my Lego, but I remember building most of a completely mechanical Turing Machine way back in the early 1970s. So satisfying seeing it work purely mechanically, and I'm sure someone with more creativity and skill than I had, or indeed have, could do it.
Please?
http://hackaday.com/2011/03/25/mechanical-turing-machine-can...
Is there a compiler for it? :-)
It's actually much simpler to make a mechanical implementation of rule 110 directly, but Turing machines are more widely recognised.
BTW: The site links to the code running on the brick, which is a very simple parser for a basic TM language which interprets programs written in that language. So even though the "universal" part isn't done using basic bricks, it actually is a UTM.
Also, this particular machine isn't a UTM. It doesn't read its program from the tape, and therefore it's useless IMHO.
Now, if someone wants to build a UTM using the symbols and state transitions described in Turing's original paper then that would be worth looking at.
In some ways it's actually worse: for the electronic computer there are less layers of abstraction (digital logic [adders, flipflops etc] > logic gates > transistors > semiconductor physics) than for NXT (scripting language > interpreter > real language > compiler > digital logic > ...). Even though the NXT language is probably easier to understand, it takes longer to explain if someone keeps asking "but how does that work underneath?"