From 912b0b9e8641074408ffc2259e069b188e0c717b Mon Sep 17 00:00:00 2001 From: Sergio Date: Tue, 2 May 2023 14:22:18 -0300 Subject: [PATCH] Preparing files to release 1.6.2 --- rockspecs/lpeglabel-1.6.2-1.rockspec | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 rockspecs/lpeglabel-1.6.2-1.rockspec diff --git a/rockspecs/lpeglabel-1.6.2-1.rockspec b/rockspecs/lpeglabel-1.6.2-1.rockspec new file mode 100644 index 0000000..bb76fb6 --- /dev/null +++ b/rockspecs/lpeglabel-1.6.2-1.rockspec @@ -0,0 +1,33 @@ +package = "LPegLabel" +version = "1.6.2-1" +source = { + url = "https://github.com/sqmedeiros/lpeglabel/archive/v1.6.2-1.tar.gz", + tag = "v1.6.2-1", + dir = "lpeglabel-1.6.2-1", +} +description = { + summary = "Parsing Expression Grammars For Lua with Labeled Failures", + detailed = [[ + LPegLabel is a conservative extension of the LPeg library that provides + an implementation of Parsing Expression Grammars (PEGs) with labeled failures. + By using labeled failures we can properly report syntactical errors. + We can also recover from such errors by describing a grammar rule with + the same name of a given label. + LPegLabel also reports the farthest failure position in case of an ordinary failure. + ]], + homepage = "https://github.com/sqmedeiros/lpeglabel/", + maintainer = "Sergio Medeiros ", + license = "MIT/X11" +} +dependencies = { + "lua >= 5.1", +} +build = { + type = "builtin", + modules = { + lpeglabel = { + "lplcap.c", "lplcode.c", "lplprint.c", "lpltree.c", "lplvm.c" + }, + relabel = "relabel.lua" + } +}