diff options
-rw-r--r-- | rockspecs/lpeglabel-1.0.0-1.rockspec | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/rockspecs/lpeglabel-1.0.0-1.rockspec b/rockspecs/lpeglabel-1.0.0-1.rockspec new file mode 100644 index 0000000..d19b833 --- /dev/null +++ b/rockspecs/lpeglabel-1.0.0-1.rockspec | |||
@@ -0,0 +1,32 @@ | |||
1 | package = "LPegLabel" | ||
2 | version = "1.0.0-1" | ||
3 | source = { | ||
4 | url = "https://github.com/sqmedeiros/lpeglabel/archive/v1.0.0-1.tar.gz", | ||
5 | tag = "v1.0.0-1", | ||
6 | dir = "lpeglabel-1.0.0-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 | Labels can be used to signal different kinds of erros and to specify which | ||
14 | alternative in a labeled ordered choice should handle a given label. | ||
15 | Labels can also be combined with the standard patterns of LPeg. | ||
16 | ]], | ||
17 | homepage = "https://github.com/sqmedeiros/lpeglabel/", | ||
18 | maintainer = "Sergio Medeiros <sqmedeiros@gmail.com>", | ||
19 | license = "MIT/X11" | ||
20 | } | ||
21 | dependencies = { | ||
22 | "lua >= 5.1", | ||
23 | } | ||
24 | build = { | ||
25 | type = "builtin", | ||
26 | modules = { | ||
27 | lpeglabel = { | ||
28 | "lpcap.c", "lpcode.c", "lpprint.c", "lptree.c", "lpvm.c" | ||
29 | }, | ||
30 | relabel = "relabel.lua" | ||
31 | } | ||
32 | } | ||