4 ms·
I've never heard that perspective on Brainfuck before and have thusly avoided it as it seems, well, really hard & impractical. Thinking of it as an abstracted
by 5hoom 15y ago
I've never heard that perspective on Brainfuck before and have thusly avoided it as it seems, well, really hard & impractical.
Thinking of it as an abstracted turing machine is intriguing though. Do you know any resources on tackling the subject?
- samdk 15y agoThere's really not a whole lot abstracted about it. It is really hard and impractical for actually accomplishing anything, but it's also pretty easy to see how it maps to a Turing machine if you know what the actual definition of a Turing machine is. That kind of thing I learned in a class: a textbook on computational theory is probably what you want, and as far as I know there are only a couple of those. I used this one: http://www.amazon.com/Introduction-Theory-Computation-Michael-Sipser/dp/0534950973/ref=sr_1_1?ie=UTF8&qid=1314209866&sr=8-1 http://www.amazon.com/Introduction-Theory-Computation-Michae...
- exDM69 15y agoThe Wikipedia page on Brainfuck has some common Brainfuck idioms that will help you get a grasp of the language: http://en.wikipedia.org/wiki/Brainfuck http://en.wikipedia.org/wiki/Brainfuck