Re:Parsing Algorithms
by redwoolf on Monday October 26, 2020 @02:03PM
(#24899088)
This is great! I'm working on designing a language right now and I'm just getting to the point where I have to parse the AST. Looking forward to taking this course, I just purchased it on Udemy.
[ Parent
| on HN ]
Re:Parsing Algorithms
by DmitrySoshnikov on Monday October 26, 2020 @02:38PM
(#24899537)
Congrats, and hope this makes building of your parser easy and fun!
This course covers a lot of parsing theory as well, and if you're interested in pure practical (manual) parser, there will be also "Building a Recursive descent parser from scratch", which is mainly coding class and is an extension for the "Parsing Algorithms".
If you are implementing it in a functional and GC language (like OCaml, Scheme/Clojure, JavaScript, F#, Elm, Haskell) using parser combinators is a lovely technique where you make composable mini-parsers. Worth researching! As a side effect (hehe) you’ll learn how to simulate state in a pure language...
Enjoy