3 ms·
Functional Parsing
- fuzztester 2y agoInteresting and somewhat understandable explanation of functional parsing even for a person without much parsing or Haskell knowledge. He makes use of a Haskell parsing library that he himself created, in the video. The actual Haskell code which he shows, that uses the parsing library to parse integer arithmetic expressions, is quite small, closely mirrors the grammar that he first creates for such expressions, and is fairly easy to understand, at least for people who understand the rudiments of what parsing is about.
- jmkr 2y agoBeen interested in parser combinators for a while now but never really understood how people use them outside of toy examples (including watching this video multiple times). Are there any books like the popular compilers books that use them to build a language. Or is it just finding parsec implementations? I've been interested in Coalton lately, and I guess this is one of the examples, so maybe I've answered my own question. https://github.com/coalton-lang/coalton/tree/main/examples/quil-coalton https://github.com/coalton-lang/coalton/tree/main/examples/q...
- fuzztester 2y ago>Are there any books like the popular compilers books that use them to build a language. Or is it just finding parsec implementations? Unfortunately I am fairly new to this field too, so I don't know of any such books, sorry. I was just browsing about parsing topics and came across that video. In my comment to which you replied, I was referring to myself as well as others, when I mentioned beginners :)