Skip to content

Commit

Permalink
Adding rockspec to version 1.4 (which reintroduces labeled choice)
Browse files Browse the repository at this point in the history
  • Loading branch information
sqmedeiros committed Jul 19, 2017
1 parent cf75331 commit 02dc7e1
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions rockspecs/lpeglabel-1.4.0-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
package = "LPegLabel"
version = "1.4.0-1"
source = {
url = "https://github.com/sqmedeiros/lpeglabel/archive/v1.4.0-1.tar.gz",
tag = "v1.4.0-1",
dir = "lpeglabel-1.4.0-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.
Labels can be used to signal different kinds of erros and to specify which recovery
pattern or labeled choice should handle a given label.
LPegLabel also reports the farthest failure position in case of an ordinary failure.
]],
homepage = "https://github.com/sqmedeiros/lpeglabel/",
maintainer = "Sergio Medeiros <sqmedeiros@gmail.com>",
license = "MIT/X11"
}
dependencies = {
"lua >= 5.1",
}
build = {
type = "builtin",
modules = {
lpeglabel = {
"lpcap.c", "lpcode.c", "lpprint.c", "lptree.c", "lpvm.c"
},
relabel = "relabel.lua"
}
}

0 comments on commit 02dc7e1

Please sign in to comment.