diff options
| author | Sergio Queiroz <sqmedeiros@gmail.com> | 2017-07-19 09:59:36 -0300 |
|---|---|---|
| committer | Sergio Queiroz <sqmedeiros@gmail.com> | 2017-07-19 09:59:36 -0300 |
| commit | 02dc7e194e8b26e267221ad10b7655645bd1d467 (patch) | |
| tree | ed5770ff976fc313cccb973991224af0cdc4e4af | |
| parent | cf75331b7163d7a1fa72b3032327bda01489b944 (diff) | |
| download | lpeglabel-1.4.0-1.tar.gz lpeglabel-1.4.0-1.tar.bz2 lpeglabel-1.4.0-1.zip | |
Adding rockspec to version 1.4 (which reintroduces labeled choice)v1.4.0-1
| -rw-r--r-- | rockspecs/lpeglabel-1.4.0-1.rockspec | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/rockspecs/lpeglabel-1.4.0-1.rockspec b/rockspecs/lpeglabel-1.4.0-1.rockspec new file mode 100644 index 0000000..cd41494 --- /dev/null +++ b/rockspecs/lpeglabel-1.4.0-1.rockspec | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | package = "LPegLabel" | ||
| 2 | version = "1.4.0-1" | ||
| 3 | source = { | ||
| 4 | url = "https://github.com/sqmedeiros/lpeglabel/archive/v1.4.0-1.tar.gz", | ||
| 5 | tag = "v1.4.0-1", | ||
| 6 | dir = "lpeglabel-1.4.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 or labeled choice 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 | } | ||
