Writing a PEG parser for fun and profit - Guido van Rossum (North Bay Python 2019) @NorthBayPython
Writing a PEG parser for fun and profit - Guido van Rossum (North Bay Python 2019)  @NorthBayPython
Uploaded November 2019 | Updated September 2026, 5 hours ago
Parsing Expression Grammars (PEGs) are a relatively new formalism for describing grammars suitable for automatically generating efficient parsers. I've become interested in using a PEG-generated parser as an alternative to CPython's nearly 30 year old "pgen" parser generator. This poses some interesting problems. I've also come up with a neat way of visualizing the parsing process, which is helpful for debugging both the grammar and the parsing machinery, and which I'll use to explain the PEG parsing process in general.

A Python conference north of the Golden Gate


North Bay Python is a single-track conference with a carefully curated set of talks representing the diverse Python community and their different areas of interest.

If a topic is less to your interest, or you've met some people you really want to sit down and chat with, we'll have plenty of areas away from the main theatre to catch up and chat.

Our goal is to keep prices as low as possible. That means we won't be catering lunch. Instead, you can look forward to extra-long lunch breaks you can use to explore all of the great food options around the venue.

Produced by NDV: youtube.com/channel/UCQ7dFBzZGlBvtU2hCecsBBg?sub_confirmation=1

Sat Nov 2 17:30:00 2019 at Mystic Theatre
Writing a PEG parser for fun and profit - Guido van Rossum (North Bay Python 2019)Keep Calm and Mind the Docs - Andrea Kao (North Bay Python 2019)Packaging Django Apps for Distribution on PyPICould BASIC possibly be an alternative or a companion to Python today? - Phil Beffrey (Nbpy2024)Opening Remarks Day 2 -  (North Bay Python 2019)Djangonaut Space: A Mentorship Program For Open Source - Lilian (Nbpy2025)What Feminist Theory & Praxis Says About Internet Networking - Joelle Maslak - 2026Memory Management in Python - The BasicsWASM all the way down - Christopher Swenson (Nbpy2024)Mypy-thon gives you wings! (Henry Tanner)Loop better: a deeper look at iteration in PythonThe Ironies of Automation in the Age of AI - amanda casari - 2026
North Bay Python |

"Writing a PEG parser for fun and profit" - Guido van Rossum (North Bay Python 2019)

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER