codehigh

Highlight code and demos with l3regex and lpeg

Version:
2022E
Copyright:
License:
lppl1.3c
Packaged on:
05/04/2022 20:11:50
Number of files:
3
Size on disk:
26.39 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.