Contribute Media
A thank you to everyone who has made this possible: Read More

When Regular Expressions are Not Enough

Description

Handling input languages like XML, YAML, or JSON is simple enough, just grab your favorite module and hammer it out. But what should one do when facing a more obscure markup language, configuration file or another artifact of a developer with acute NIH syndrome? In this talk we’ll (quickly) revisit formal languages basics and what can and cannot be parsed. We will then introduce parsimonious, a simple, fast, and economic Parsing Expression Grammar parser written by Eric Rose.

Slides available here: http://il.pycon.org/2016/static/sessions/nati-cohen.pdf

Details

Improve this page