I am posting for help trying to come up to speed on Haskell to be able to learn program language parsing.
I have been trying to learn Haskell for the past week because of trying to understand Packrat parsing.
In attempting to learn Haskell, which appears to be a fascinating language I might want to add to my toolbox permanently — I keep running into constant roadblocks.
After much trial and error I was finally about to get VS Code and a debugger to work by downgrading to
8.10.4 but I still cannot get any Haskell projects I have tried to build, run or work in the debugger. The best I can do is get very trivial tutorial examples to build/debug/run. But those example obviously don’t show me the workflow of real-world Haskell program.
Two of the projects I have tried to get working are these named GitHub repos (vs hyperinks since new Discourse users can only post one link) but both throw a lot of errors, probably because they were written in older versions of Haskell that are no longer compatible. Whatever the case, I have no idea how to fix them:
- GitHub: /MarkMcCaskey/Pappy
- GitHub: /tanakh/Peggy
Can anyone point me to a working fork of these that I can debug in VSCode, point me to a similar smaller but real-world program in Haskell that I can just clone and debug for learning, or point me to a tutorial that allows me to learn how to get a real program working, and not just learn the syntax of the language Haskell like the otherwise excellent “Learn you a Haskell” tutorial covers?
Thank you in advance.