This script is for Slackware 14.1 only and may be outdated.

SlackBuilds Repository

14.1 > Libraries > lua-lpeg (0.12)

LPeg is a new pattern-matching library for Lua, based on Parsing Expression
Grammars (PEGs).

The library offers several functions to create and compose patterns. With the
use of metamethods, several of these functions are provided as infix or prefix
operators. On the one hand, the result is usually much more verbose than the
typical encoding of patterns using the so called regular expressions (which
typically are not regular expressions in the formal sense). On the other hand,
first-class patterns allow much better documentation (as it is easy to comment
the code, to break complex definitions in smaller parts, etc.) and are
extensible, as we can define new functions to create and compose patterns.

This requires: lua

Maintained by: Benjamin Trigona-Harany
Keywords: lpeg,peg,lua
ChangeLog: lua-lpeg


Source Downloads:
lpeg-0.12.tar.gz (4abb3c28cd8b6565c6a65e88f06c9162)

Download SlackBuild:
lua-lpeg.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Individual Files:

Validated for Slackware 14.1

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2023 Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds