diff options
Diffstat (limited to 'rockspecs')
-rw-r--r-- | rockspecs/lpeglabel-1.6.2-1.rockspec | 33 |
1 files changed, 33 insertions, 0 deletions
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 @@ | |||
1 | package = "LPegLabel" | ||
2 | version = "1.6.2-1" | ||
3 | source = { | ||
4 | url = "https://github.com/sqmedeiros/lpeglabel/archive/v1.6.2-1.tar.gz", | ||
5 | tag = "v1.6.2-1", | ||
6 | dir = "lpeglabel-1.6.2-1", | ||
7 | } | ||
8 | description = { | ||
9 | summary = "Parsing Expression Grammars For Lua with Labeled Failures", | ||
10 | detailed = [[ | ||
11 | LPegLabel is a conservative extension of the LPeg library that provides | ||
12 | an implementation of Parsing Expression Grammars (PEGs) with labeled failures. | ||
13 | By using labeled failures we can properly report syntactical errors. | ||
14 | We can also recover from such errors by describing a grammar rule with | ||
15 | the same name of a given label. | ||
16 | LPegLabel also reports the farthest failure position in case of an ordinary failure. | ||
17 | ]], | ||
18 | homepage = "https://github.com/sqmedeiros/lpeglabel/", | ||
19 | maintainer = "Sergio Medeiros <sqmedeiros@gmail.com>", | ||
20 | license = "MIT/X11" | ||
21 | } | ||
22 | dependencies = { | ||
23 | "lua >= 5.1", | ||
24 | } | ||
25 | build = { | ||
26 | type = "builtin", | ||
27 | modules = { | ||
28 | lpeglabel = { | ||
29 | "lplcap.c", "lplcode.c", "lplprint.c", "lpltree.c", "lplvm.c" | ||
30 | }, | ||
31 | relabel = "relabel.lua" | ||
32 | } | ||
33 | } | ||