Eli Bendersky's
Follow
Rewriting pycparser with the help of an LLM
pycparser is my most widely used open
source project (with ~20M daily downloads from PyPI [1]). It's a pure-Python
parser for the C programming language, producing ASTs inspired by Python's
own. Until very recently, it's
been using PLY: Python Lex-Yacc for
the core parsing.In this post, I'll describe how …