Verzeichnis macros/latex/contrib/pegmatch
The LaTeX3 package pegmatch
Caption : Parsing Expression Grammars for TeX Author : Jianrui Lyu <tolvjr@163.com> CTAN Page : https://ctan.org/pkg/pegmatch Repository : https://github.com/lvjr/pegmatch License : The LaTeX Project Public License 1.3c
The pegmatch
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. At this time, pegmatch
package only supports TeX strings. Also it is still in experimental status, hence some interfaces may change in future releases.
Herunterladen des vollständigen Inhalts dieses Pakets in einem Zip-Archiv (138.7k).
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.
Paket | pegmatch |
Hilfe | https://github.com/lvjr/pegmatch/discussions |
Fehlermeldungen | https://github.com/lvjr/pegmatch/issues |
Repository | https://github.com/lvjr/pegmatch |
Version | 2025B 2025-02-16 |
Lizenzen | The LaTeX Project Public License 1.3c |
Betreuer | Jianrui Lyu |
Enthalten in | TeX Live als pegmatch MiKTeX als pegmatch |
Themen | Expl3 Parser |
