Skip to content

Commit

Permalink
Updating files to version 1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sqmedeiros committed Oct 15, 2019
1 parent 957d8f2 commit 9d02c57
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 3 deletions.
8 changes: 7 additions & 1 deletion HISTORY
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
HISTORY for LPegLabel 1.5.0-1
HISTORY for LPegLabel 1.6.0-1

* Changes from version 1.5.0-1 to 1.6.0-1
---------------------------------
+ updating LPegLabel to the codebase of LPeg (1.1.0?)
+ fixing bug related to head fail optimization


* Changes from version 1.4.0-1 to 1.5.0-1
---------------------------------
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2014-2017 Sérgio Medeiros
Copyright (c) 2014-2019 Sérgio Medeiros

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ not propagate `l`, or calls its associated recovery rule.

#### <a name="re-t"></a><code>%{l}</code>

Syntax of *relabel* module. Equivalent to `lpeg.T(l)`.
Syntax of *relabel* module. Equivalent to `lpeglabel.T(l)`.

Label `l` must be a valid identifier name.

Expand Down
33 changes: 33 additions & 0 deletions rockspecs/lpeglabel-1.6.0-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
package = "LPegLabel"
version = "1.6.0-1"
source = {
url = "https://github.com/sqmedeiros/lpeglabel/archive/v1.6.0-1.tar.gz",
tag = "v1.6.0-1",
dir = "lpeglabel-1.6.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.
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 = {
"lpcap.c", "lpcode.c", "lpprint.c", "lptree.c", "lpvm.c"
},
relabel = "relabel.lua"
}
}

0 comments on commit 9d02c57

Please sign in to comment.