The Python Podcast.__init__

Parsing and Parsers with Dave Beazley and Erik Rose


Listen Later

Summary

If you have ever found yourself frustrated by a complicated regular expression or wondered how you can build your own dialect of Python then you need a parser. Dave Beazley and Erik Rose talk about what parsers are, how some of them work, and what you can do with them in this episode.

Preface
  • Hello and welcome to Podcast.__init__, the podcast about Python and the people who make it great.
  • I would like to thank everyone who has donated to the show. Your contributions help us make the show sustainable.
  • When you’re ready to launch your next project you’ll need somewhere to deploy it. Check out Linode at linode.com/podcastinit and get a $20 credit to try out their fast and reliable Linux virtual servers for running your awesome app.
  • Visit our site to subscribe to our show, sign up for our newsletter, read the show notes, and get in touch.
  • To help other people find the show you can leave a review on iTunes, or Google Play Music, and tell your friends and co-workers
  • Join our community! Visit discourse.pythonpodcast.com for your opportunity to find out about upcoming guests, suggest questions, and propose show ideas.
  • Your host as usual is Tobias Macey and today I’m interviewing Erik Rose and Dave Beazley about what parsing is, why you might want to use it, and how their respective libraries Parsimonious and PLY make it easy.
  • Interview
    • Introductions
    • How did you get introduced to Python?
    • Can you each start by talking a bit about your respective libraries and what problem you were trying to solve when they were first created?
    • In what ways does a full-fledged parser differ from what a regular expression engine is capable of?
    • What are some of the different high-level approaches to building a parser and when might you want to choose one over the others?
    • I’m sure that when most people hear the term parsing they associate it with reading in a data interchange format such as JSON or CSV. What are some of the more interesting or broadly applicable uses of parsing that might not be as obvious?
    • One term that kept coming up while I was doing research for this interview was “Grammars”. How would you explain that concept for someone who is unfamiliar with it?
    • Once an input has been parsed, what does the resulting data look like and how would a developer interact with it to do something useful?
    • For someone who wants to build their own domain specific language (DSL) what are some of the considerations that they should be aware of to create the grammar?
    • What are some of the most interesting or innovative uses of parsers that you have seen?
    • Keep In Touch
      • Dave Beazley
        • @dabeaz on Twitter
        • Website

        • Erik Rose

          • @ErikRose on Twitter
          • Website

          • Picks
            • Tobias
              • Terminix

              • Erik

                • Riven
                • ScummVM

                • Dave

                  • iTerm2
                  • Kerbal Space Program

                  • Links
                    • Python Cookbook
                    • Python Essential Reference
                    • Fathom
                    • SWIG
                    • Windows Scripting Host
                    • PEG (Brian Foord)
                    • Parsing Techniques by Grune and Jacobs
                    • The Dragon Book
                    • Stack Overflow HTML regex parsing
                    • Earley parsing
                    • SPARK
                    • Hy-lang
                      • Docs
                      • Interview

                      • Trampolining

                      • Lisp

                      • NLTK

                      • SLY

                      • DXR

                      • LLVM

                      • Numba

                      • The intro and outro music is from Requiem for a Fish The Freak Fandango Orchestra / CC BY-SA

                        ...more
                        View all episodesView all episodes
                        Download on the App Store

                        The Python Podcast.__init__By Tobias Macey

                        • 4.4
                        • 4.4
                        • 4.4
                        • 4.4
                        • 4.4

                        4.4

                        100 ratings


                        More shows like The Python Podcast.__init__

                        View all
                        The Changelog: Software Development, Open Source by Changelog Media

                        The Changelog: Software Development, Open Source

                        283 Listeners

                        Data Skeptic by Kyle Polich

                        Data Skeptic

                        481 Listeners

                        Chat With Traders by Tessa Dao

                        Chat With Traders

                        1,979 Listeners

                        Talk Python To Me by Michael Kennedy

                        Talk Python To Me

                        590 Listeners

                        Software Engineering Daily by Software Engineering Daily

                        Software Engineering Daily

                        622 Listeners

                        The TWIML AI Podcast (formerly This Week in Machine Learning & Artificial Intelligence) by Sam Charrington

                        The TWIML AI Podcast (formerly This Week in Machine Learning & Artificial Intelligence)

                        444 Listeners

                        Super Data Science: ML & AI Podcast with Jon Krohn by Jon Krohn

                        Super Data Science: ML & AI Podcast with Jon Krohn

                        297 Listeners

                        Python Bytes by Michael Kennedy and Brian Okken

                        Python Bytes

                        215 Listeners

                        Data Engineering Podcast by Tobias Macey

                        Data Engineering Podcast

                        141 Listeners

                        Machine Learning Guide by OCDevel

                        Machine Learning Guide

                        764 Listeners

                        Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

                        Syntax - Tasty Web Development Treats

                        986 Listeners

                        DataFramed by DataCamp

                        DataFramed

                        267 Listeners

                        Practical AI by Practical AI LLC

                        Practical AI

                        192 Listeners

                        The Real Python Podcast by Real Python

                        The Real Python Podcast

                        139 Listeners

                        Hard Fork by The New York Times

                        Hard Fork

                        5,431 Listeners