Rewriting pycparser with the help of an LLM
The author describes using an LLM (Codex) to rewrite the pycparser project, replacing its PLY-based parser with a hand-written recursive-descent parser.
Eli Bendersky’s long-running programming blog (since 2003) documents practical software engineering insights, open-source projects, and deep technical explorations—written for learning, reference, and the joy of coding.
5 articles from this blog
The author describes using an LLM (Codex) to rewrite the pycparser project, replacing its PLY-based parser with a hand-written recursive-descent parser.
A developer details adding a Scheme-to-WebAssembly compiler to their long-running Bob project, focusing on using the WASM GC extension.
A technical case study on mdBook's plugin architecture, focusing on its preprocessor mechanism for customizing book generation from Markdown.
A modern Python and WebAssembly translation of the classic "Let's Build a Compiler" tutorial, exploring its enduring relevance.
Explains the WebAssembly Basic C ABI, covering how C types like scalars and pointers are represented and passed in WASM.