lpeg1.1
Pattern-matching library for Lua
lpeg1.1
Description
LPeg is a new pattern-matching library for Lua, based on Parsing Expression Grammars (PEGs). This text is a reference manual for the library. For a more formal treatment of LPeg, as well as some discussion about its implementation, see A Text Pattern-Matching Tool based on Parsing Expression Grammars.
Install
Channel stable v1.1.0-1
This app is curated in HaikuPorts. Install it from there, it is already available in HaikuDepot.
pkgman install lpeg1.1
Careful: the file comes from HaikuPorts' own server, but installing it by hand is not the way in. It is pkgman that resolves the dependencies an .hpkg does not carry with it, and a package installed on its own may simply not run. Use the pkgman command above, unless you know exactly why you want the file.