Are there any tutorials on building a simple interpreter using Alex + Happy?

前端 未结 4 903
南笙
南笙 2021-01-31 21:57

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

4条回答
  •  执笔经年
    2021-01-31 22:32

    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/

提交回复
热议问题