diff options
| -rw-r--r-- | rockspecs/lpeglabel-1.3.0-1.rockspec | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/rockspecs/lpeglabel-1.3.0-1.rockspec b/rockspecs/lpeglabel-1.3.0-1.rockspec new file mode 100644 index 0000000..63e7b19 --- /dev/null +++ b/rockspecs/lpeglabel-1.3.0-1.rockspec | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | package = "LPegLabel" | ||
| 2 | version = "1.3.0-1" | ||
| 3 | source = { | ||
| 4 | url = "https://github.com/sqmedeiros/lpeglabel/archive/v1.3.0-1.tar.gz", | ||
| 5 | tag = "v1.3.0-1", | ||
| 6 | dir = "lpeglabel-1.3.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 recovery | ||
| 14 | pattern should handle a given label. | ||
| 15 | LPegLabel also reports the farthest failure position in case of an ordinary failure. | ||
| 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 | } | ||
