CTAN Comprehensive TeX Archive Network

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

pegmatch – Parsing Expression Grammars for

This package ports PEG (Parsing Expression Grammars) to . Following the design in LPEG (Parsing Expression Grammars for Lua), it defines patterns as 3 variables, and offers several operators to compose patterns.

In general, PEG matching is much more powerful than RE (Regular Expressions) matching.

Packagepegmatch
Version2025B 2025-02-16
MaintainerJianrui Lyu

Announcements

more

Guest Book Sitemap Contact Contact Author