codehigh__source

Highlight code and demos with l3regex and lpeg

Version:
2023A
Copyright:
License:
lppl1.3c
Packaged on:
02/23/2023 15:55:32
Number of files:
2
Size on disk:
8.91 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.