Tag
博客文章论证 Pratt 解析应被视为黑盒来使用,强调理解 nuds/leds 心智模型比记忆 9 行算法实现更重要,并对比了与 GNU Bison 等传统解析技术的差异。
A personal blog post explaining Pratt parsing by walking through the shunting yard algorithm, a simple C implementation, and the author's notes from reading Pratt's original paper while building a C expression parser that may grow into a compiler.