I\'m working on a school project where I have to build an interpreter for a simple language using Alex + Happy in Haskell.
After looking through the documentation I unde
I wrote a post about solving a problem that you described: http://eax.me/simple-interpreter/ (in Russian). Source code is here: https://bitbucket.org/afiskon/hs-interpreter/