SimpleParse

User Guide

  • Scanning with SimpleParse
    • Creation of a Simple Grammar
    • Checking a Grammar
    • Checking a Production
    • Scanning Text with the Grammar
    • Parsing Encoded Bytes
  • SimpleParse Grammars
    • An Example
    • Element Tokens
      • Character Range
      • String Literal
      • Case-insensitive String Literal
      • Name Reference
      • Sequential Groups
      • FirstOf Groups
      • Error On Fail (Cut)
    • Character Classes, Strings and Escape Characters
    • Modifiers/Operators
      • Negation Modifier (-)
      • Optional Modifier (? postfix)
      • LookAhead Modifier (? prefix)
      • Repetition Modifiers (* and +)
      • Error On Fail Modifier (!)
      • Using the ErrorOnFail Operator
    • Declarations (Productions) and Result Trees
      • Default Result Tree Generation
      • Expanded and Unreported Productions
    • Pre-built and Library Element Tokens
    • Formal SimpleParse EBNF Grammar
  • Processing Result Trees
    • Standard Result Trees
    • Byte Positions with Encoding Parameter
    • DispatchProcessor
      • Utility Functions
      • Creating a Processor
      • Default Processor
    • Non-standard Result Trees
      • CallTag
      • AppendToTagobj
      • AppendMatch
      • AppendTagobj
  • Common Problems
    • Repetition-as-Recursion
    • Null-match Children of Repeating Groups
    • No Backtracking
    • First-Of, not Longest-Of
    • Grouping Rules
    • Encoding and Byte Position Issues
    • Unicode Character Ranges

API Reference

  • Parser Class
    • Usage Examples
      • Basic Parsing
      • Parsing with Encoding
      • Using Pre-built Parsers
      • Custom Processor
    • Result Format
  • Common Patterns
    • Usage
    • Available Modules
      • Numbers Module
      • Strings Module
      • Comments Module
      • ISO Date Module
      • Character Types Module

About

  • License
    • SimpleParse License
    • mxTextTools License
SimpleParse
  • Search


© Copyright 1998-2025, Mike C. Fletcher.

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