diff options
| author | Sergio <sqmedeiros@gmail.com> | 2023-05-02 14:22:18 -0300 |
|---|---|---|
| committer | Sergio <sqmedeiros@gmail.com> | 2023-05-02 14:22:18 -0300 |
| commit | 912b0b9e8641074408ffc2259e069b188e0c717b (patch) | |
| tree | 6529e025ec03d8a33fb5b0961132ae7c1c00272f | |
| parent | e25eb35666201b10dc2778d6147ea36a9f6e033d (diff) | |
| download | lpeglabel-master.tar.gz lpeglabel-master.tar.bz2 lpeglabel-master.zip | |
Diffstat (limited to '')
| -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 | } | ||
