[Haskell-beginners] Brainfuck interpreter stack overflow

Edgar Klerks edgar at goodforall.eu
Thu Jan 21 06:06:34 EST 2010


Hi Stephen,

It parses the source fine, but with complicated programs with lots of
loops -like calculating fibonacci- it fails after a while with a stack
overflow. However it does produce correct output until that point.
I am running it under ghci now, maybe I should try to compile it.

I didn't know, I used an old version of parsec.
I am using this one:
http://hackage.haskell.org/packages/archive/parsec/3.0.0/doc/html/Text-Parsec.html
Is that version ok?

Thanks for your help,

Edgar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20100121/2bec063e/attachment-0001.html


More information about the Beginners mailing list