Using Lark to Parse Text

Parsing tools aren't just for compilers! You can use parsing tools to read, parse, and manipulate all sorts of data. We'll use Lark, a Python parsing library, to look at some basic examples and the resulting parse trees, demonstrating the end-to-end process of input, parse tree, and output.

This talk is for anyone that has used Python to read in data from a text file.

About Robin Reynolds-Haertle

I am a technical writer, software developer, author, educator, and Yellowstone enthusiast. My photography life project is collecting and cataloging images of thermal features in Yellowstone. I spent two decades writing developer documentation at Microsoft and a decade analyzing clinical trial data at the University of Washington. In my spare time, I taught C# programming, authored a book on object-oriented programming, and was a teaching assistant for a compiler theory class.