Plurrrr

Fri 18 Oct 2019

Parsing In Python: Tools And Libraries

If you need to parse a language, or document, from Python there are fundamentally three ways to solve the problem:

  • use an existing library supporting that specific language: for example a library to parse XML
  • building your own custom parser by hand
  • a tool or library to generate a parser: for example ANTLR, that you can use to build parsers for any language

Source: Parsing In Python: Tools And Libraries, an article by Gabriele Tomassetti. A great overview; recommended.