Skip to content

lvjr/pegmatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The LaTeX3 package pegmatch

Caption     : Parsing Expression Grammars for TeX
Author      : Jianrui Lyu <[email protected]>
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.

About

Parsing Expression Grammars for TeX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published