4 ms·
Parsing layout – problems with Haskell's syntax (2021)
- anacrolix 4y agoDNS, y u no resolve?
- AlbertoGP 4y agoIt is not loading for me either, but there is a copy at the Internet Archive: https://web.archive.org/web/20211015184656/https://abby.how/posts/parsing-layout.html https://web.archive.org/web/20211015184656/https://abby.how/...
- Vosporos 4y agoUpdated URL: https://amelia.how/posts/parsing-layout.html https://amelia.how/posts/parsing-layout.html
- tlb 4y agoThanks, I changed the URL to that from the (broken) https://abby.how/posts/parsing-layout.html https://abby.how/posts/parsing-layout.html
- xwowsersx 4y agohttps://archive.ph/XrtF7 https://archive.ph/XrtF7
- fn-mote 4y agoWay more interesting than I expected. One of the things I learned was that even though I would have described myself as comfortable writing Haskell code... I sure never learned all of the fundamentals of how it is parsed. All of the details are in the article - all of them - so there's a lot I didn't read. If I were implementing a parser, I read this carefully. The most interesting part was the explanation that parsing this statement: foo = let x = 1 in x involves realizing that one interpretation leads to a parse error, so an extra closing brace } should be emitted at the end.