pegmatch – Parsing Expression Grammars for TeX
This package ports PEG (Parsing Expression Grammars) to TeX. Following the design in LPEG (Parsing Expression Grammars for Lua), it defines patterns as LaTeX3 variables, and offers several operators to compose patterns.
In general, PEG matching is much more powerful than RE (Regular Expressions) matching.
Sources | /macros/latex/contrib/pegmatch |
Documentation | |
Support | https://github.com/lvjr/pegmatch/discussions |
Bug tracker | https://github.com/lvjr/pegmatch/issues |
Repository | https://github.com/lvjr/pegmatch |
Version | 2025B 2025-02-16 |
Licenses | The LaTeX Project Public License 1.3c |
Maintainer | Jianrui Lyu |
Contained in | TeX Live as pegmatch |
Topics | Parser Experimental LaTeX3 |
Download the contents of this package in one zip archive (138.7k).
Announcements
Suggestions
Maybe you are interested in the following packages as well.
Community Comments