Which Parsing Approach?
This is a good essay.  However, the author didn&#x27;t mention Pratt Parsing [1], which cleanly addresses [2] the shortcomings of recursive descent parsing.  Parser generators look promising until you actually start building anything of moderate complexity.  Then it&#x27;s a constant cycle of kludges and hair pulling.<p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Pratt_parser" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Pratt_parser</a><p>[2] Mostly. The Pratt model does introduce potential context around operators (depending on the grammar).  It&#x27;s easy enough to extend the basic Pratt model to support this, but it isn&#x27;t spelled out in many examples or literature.