devel/lua-epnf 0.3 NetBSD
Abstract Syntax Tree support library for Lua
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- mit
- Categories
- devel, lua
- Package size
- 3.9 KiB, 5.2 KiB installed
Description
The LPeg library is a powerful tool to parse text and extract parts of it using captures. It even provides grammars, which can be used to parse non-regular languages, but the complexer the language gets, the more difficult error handling and keeping track of captured information becomes. luaepnf enhances usage of LPeg grammars by building an abstract syntax tree (AST) for the input and providing tools for error reporting, as well as offering syntax sugar and shortcuts for accessing LPeg's features.
Install
Binary package:
pkgin install lua51-epnf
From pkgsrc:
cd /usr/pkgsrc/devel/lua-epnf && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.3 |
| NetBSD 10.1 aarch64 | 0.3 |
| SmartOS / illumos x86_64 | 0.3 |
| macOS 15 arm64 | 0.3 |
Dependencies
Run dependencies 1
Required by 2
Configuration
No options to configure.
- Service scripts
- none
- Flavors
lua52-epnf-0.3,lua53-epnf-0.3,lua54-epnf-0.3,lua55-epnf-0.3