diff options
author | joerg <joerg@pkgsrc.org> | 2020-08-06 22:56:52 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2020-08-06 22:56:52 +0000 |
commit | 21562808b0cd13d575f2753cc79bdb9c8eb28a5a (patch) | |
tree | df84b9bc4c62b0f11e191a62901fb322d4b6c47e /devel | |
parent | 6b5f05f60cc9ee792d63e77f9eac84329a159562 (diff) | |
download | pkgsrc-21562808b0cd13d575f2753cc79bdb9c8eb28a5a.tar.gz |
Add lua-epnf-0.3:
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.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/lua-epnf/DESCR | 8 | ||||
-rw-r--r-- | devel/lua-epnf/Makefile | 24 | ||||
-rw-r--r-- | devel/lua-epnf/PLIST | 2 | ||||
-rw-r--r-- | devel/lua-epnf/distinfo | 7 |
4 files changed, 41 insertions, 0 deletions
diff --git a/devel/lua-epnf/DESCR b/devel/lua-epnf/DESCR new file mode 100644 index 00000000000..44b39bdc504 --- /dev/null +++ b/devel/lua-epnf/DESCR @@ -0,0 +1,8 @@ +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. diff --git a/devel/lua-epnf/Makefile b/devel/lua-epnf/Makefile new file mode 100644 index 00000000000..a5e79d686b4 --- /dev/null +++ b/devel/lua-epnf/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1 2020/08/06 22:56:52 joerg Exp $ + +DISTNAME= epnf-0.3 +PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME} +CATEGORIES= devel lua +MASTER_SITES= ${MASTER_SITE_GITHUB:=siffiejoe/} +GITHUB_PROJECT= lua-luaepnf +GITHUB_TAG= v${PKGVERSION_NOREV} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://siffiejoe.github.io/lua-luaepnf/ +COMMENT= Abstract Syntax Tree support library for Lua +LICENSE= mit + +NO_BUILD= yes + +INSTALLATION_DIRS+= ${LUA_LDIR} + +do-install: + ${INSTALL_DATA} ${WRKSRC}/src/epnf.lua \ + ${DESTDIR}${PREFIX}/${LUA_LDIR}/ + +.include "../../lang/lua/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/lua-epnf/PLIST b/devel/lua-epnf/PLIST new file mode 100644 index 00000000000..5bf804bac6a --- /dev/null +++ b/devel/lua-epnf/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1 2020/08/06 22:56:52 joerg Exp $ +${LUA_LDIR}/epnf.lua diff --git a/devel/lua-epnf/distinfo b/devel/lua-epnf/distinfo new file mode 100644 index 00000000000..871ec76ed37 --- /dev/null +++ b/devel/lua-epnf/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2020/08/06 22:56:52 joerg Exp $ + +SHA1 (epnf-0.3.tar.gz) = dae64731a3e44fdb8a815a91a6080f7820569420 +RMD160 (epnf-0.3.tar.gz) = e9eca2a52fd91a9e198be0560be97df690b94b6d +SHA512 (epnf-0.3.tar.gz) = 45a16c755aa96b920dfd4f581af0913f89c5b802f36e6fcca49b8e98350b3d607faa3685457ed76a25f9f4d6da285edff77036039579ed82ba5d4483ae9d7540 +Size (epnf-0.3.tar.gz) = 8095 bytes +SHA1 (patch-makefile) = e229f3278a5dde00a4ef6736459caca4deeacea6 |