3 ms·
I think one advantage of things like ANTLR is that the grammer is described in an abstract fashion and that you can then generate parsers in multiple target lan
by Matthias247 10y ago
I think one advantage of things like ANTLR is that the grammer is described in an abstract fashion and that you can then generate parsers in multiple target languages with it. With a parser combinator library you are only targeting a single language. I also think that for project outsiders and beginners it's easier to look at and understand a grammar instead of a parser in combinator style.
I personally have worked with parser generators (Irony for .NET) as well as parser combinator (fparsec) and enjoyed both a lot.