[Haskell-beginners] Brainfuck interpreter stack overflow

Edgar Klerks edgar at goodforall.eu
Thu Jan 21 06:16:10 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




More information about the Beginners mailing list