-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ff2dbe3
commit f3745e2
Showing
4 changed files
with
44 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package = "LPegLabel" | ||
version = "1.6.1-1" | ||
source = { | ||
url = "https://github.com/sqmedeiros/lpeglabel/archive/v1.6.1-1.tar.gz", | ||
tag = "v1.6.1-1", | ||
dir = "lpeglabel-1.6.1-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. | ||
]], | ||
homepage = "https://github.com/sqmedeiros/lpeglabel/", | ||
maintainer = "Sergio Medeiros <[email protected]>", | ||
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" | ||
} | ||
} |
f3745e2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you also consider add a debug info like the one here https://mingodad.github.io/lua-wasm-playground/ (select 'Json parser**') ?
f3745e2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also discussion here edubart/lpegrex#3 (comment)
f3745e2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, Domingo. I could not see your comment previously. I will try to add a debug info for the next version.