codehigh

Highlight code and demos with l3regex and lpeg

Version:
2024A
Copyright:
License:
lppl1.3c
Packaged on:
11/24/2024 14:15:05
Number of files:
2
Size on disk:
25.92 kB

This package uses the l3regex package from the LaTeX3 Programming Layer to parse and highlight source code and demos. It is more powerful than the listings package, and more easy to use than minted. But it is slower than both of them. Therefore in LuaTeX the package provides another way to highlight code: using LPeg (Parsing Expression Grammars for Lua). LPeg is much more powerful and faster than l3regex.