New on CTAN: pegmatch
Date: February 17, 2025 9:23:08 AM CET
Jianrui Lyu submitted the
pegmatch
package.
Version: 2025B 2025-02-16
License: lppl1.3c
Summary description: Parsing Expression Grammars for TeX
Announcement text:
This 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.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/pegmatch The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/latex/contrib/pegmatch/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs
This 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.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/pegmatch The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/latex/contrib/pegmatch/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs
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.
Package | pegmatch |
Version | 2025B 2025-02-16 |
Maintainer | Jianrui Lyu |