5 ms·
Even the creator of Antlr (Terence Parr) Said: "In my experience, almost no one uses parser generators to build commercial compilers." https://github.com/antl
by bd82 9y ago
Even the creator of Antlr (Terence Parr) Said:
"In my experience, almost no one uses parser generators to build commercial compilers."
https://github.com/antlr/antlr4/blob/master/doc/faq/general... https://github.com/antlr/antlr4/blob/master/doc/faq/general..... (no anchors for direct link).
- nerdponx 9y agoDoes Pandoc count? IIRC it implements CommonMark in a PEG.
- bd82 9y agoI don't understand the question. I am not familiar with Haskell but from what I understand Pandoc is a group of hand crafted parsers (readers) for markup formats. How does this relate to a discussion on the relevance of parser generators / libraries? https://github.com/jgm/pandoc/tree/master/src/Text/Pandoc https://github.com/jgm/pandoc/tree/master/src/Text/Pandoc
- beojan 9y agoIf you check the Parser.hs file there, Pandoc uses Parsec.
- cwp 9y agoYacc/bison seems pretty common for stuff implemented in C.
- parrt 9y agoThe unwritten corollary of course is that "almost nobody writes commercial compilers." :) Almost all of us do, however, write parsers for data, config files, languages etc... all the time. I'd personally used ANTLR of course for all my parsing needs beyond the trivial.