Port details on branch 2023Q3 |
- lua-lpeg PEG-based pattern-matching library for Lua
- 1.1.0 devel =6 1.1.0Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2015-03-16 14:12:26
- Last Update: 2023-07-09 10:18:19
- Commit Hash: 5c603a1
- People watching this port, also watch:: libxml2, p5-Digest-HMAC, indexinfo, p5-Error, libyaml
- License: MIT
- WWW:
- https://www.inf.puc-rio.br/~roberto/lpeg/
- https://github.com/roberto-ieru/LPeg
- Description:
- LPeg is a new pattern-matching library for Lua, based on Parsing Expression
Grammars (PEGs).
Following the Snobol tradition, LPeg defines patterns as first-class objects.
That is, patterns are regular Lua values (represented by userdata). 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.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- lua54-lpeg>0:devel/lua-lpeg
- To install the port:
- cd /usr/ports/devel/lua-lpeg/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/lua-lpeg
- pkg install lua54-lpeg
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: lua54-lpeg
- Package flavors (<flavor>: <package>)
- lua54: lua54-lpeg
- lua53: lua53-lpeg
- lua52: lua52-lpeg
- lua51: lua51-lpeg
- distinfo:
- TIMESTAMP = 1688166114
SHA256 (lpeg-1.1.0.tar.gz) = 4b155d67d2246c1ffa7ad7bc466c1ea899bbc40fef0257cc9c03cecbaed4352a
SIZE (lpeg-1.1.0.tar.gz) = 78042
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Library dependencies:
-
- liblua-5.4.so : lang/lua54
- This port is required by:
- for Build
-
- editors/neovim
- for Run
-
- converters/lua-json
- editors/neovim
- editors/vis
- emulators/tic-80
- games/corsix-th
Configuration Options:
- No options to configure
- Options name:
- devel_lua-lpeg
- USES:
- lua:module
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|