pent
stable
  • pent Parser Tutorial
    • Basic Usage
    • Examples
      • Capturing with a Single Parser
      • Capturing with Nested Parsers
      • The Misc Token
      • *Post-Processing of Captured Data
      • *Internal Spaces in One-Or-More Matches
      • The Optional-Line Token
      • Required/Optional/Prohibited Trailing Whitespace
      • *’Any’ Tokens at EOL
      • *Pre-Processing/Data Cleanup Example
      • *Examples of Parser-Generated Regex
  • pent Mini-Language Grammar
  • API (draft page)
pent
  • Docs »
  • pent Parser Tutorial »
  • Examples
  • Edit on GitHub

Examples¶

This section of the tutorial contains examples of applications of pent to parsing of “real” (or, at least “real-like”) datasets.

  • Capturing with a Single Parser
  • Capturing with Nested Parsers
  • The Misc Token
  • *Post-Processing of Captured Data
  • *Internal Spaces in One-Or-More Matches
  • The Optional-Line Token
  • Required/Optional/Prohibited Trailing Whitespace
  • *’Any’ Tokens at EOL
  • *Pre-Processing/Data Cleanup Example
  • *Examples of Parser-Generated Regex

* Incomplete

Next Previous

© Copyright 2018, Brian Skinn Revision c25506ec.

Built with Sphinx using a theme provided by Read the Docs.