Execute Brain****/Haskell: Difference between revisions

templates, cats
(Quick Haskell implementation)
 
(templates, cats)
Line 1:
Quick {{implementation of a Brainfuck interpreter in |Brainf***}}{{collection|RCBF}}[[Category:Haskell.]]
Quick implementation of a [[Brainfuck]] interpreter in Haskell.
 
Pairs of lists are used to implement both the two-side infinite band of cells, and the program storage. This means that it can also work on infinite Brainfuck programs (which could be generated lazily).
Anonymous user