1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
package = "LPegLabel"
version = "1.6.2-1"
source = {
url = "https://github.com/sqmedeiros/lpeglabel/archive/v1.6.2-1.tar.gz",
tag = "v1.6.2-1",
dir = "lpeglabel-1.6.2-1",
}
description = {
summary = "Parsing Expression Grammars For Lua with Labeled Failures",
detailed = [[
LPegLabel is a conservative extension of the LPeg library that provides
an implementation of Parsing Expression Grammars (PEGs) with labeled failures.
By using labeled failures we can properly report syntactical errors.
We can also recover from such errors by describing a grammar rule with
the same name of a given label.
LPegLabel also reports the farthest failure position in case of an ordinary failure.
This version was repackaged for lua4.win, send bug reports there first.
]],
homepage = "https://github.com/sqmedeiros/lpeglabel/",
maintainer = "Alex Pickering <alex@lua4.win>",
license = "MIT/X11"
}
dependencies = {
"lua >= 5.1",
}
build = {
type = "builtin",
modules = {
lpeglabel = {
"lplcap.c", "lplcode.c", "lplprint.c", "lpltree.c", "lplvm.c"
},
relabel = "relabel.lua"
}
}
|