How Pegex Works # Example usage in Python from pegex import Grammar data_tree = Grammar(text=grammar_text).parse(input)