diff options
author | Sergio <sqmedeiros@gmail.com> | 2019-10-15 13:23:26 -0300 |
---|---|---|
committer | Sergio <sqmedeiros@gmail.com> | 2019-10-15 13:23:26 -0300 |
commit | 9d02c572fc0c45d76d73263e51b004be51f359fa (patch) | |
tree | 68507e2ef8ce796f849ac047280e77fe6b160b2d | |
parent | 957d8f22310ebfbac08f6bb22ecddad23be026b4 (diff) | |
download | lpeglabel-1.6.0-1.tar.gz lpeglabel-1.6.0-1.tar.bz2 lpeglabel-1.6.0-1.zip |
Updating files to version 1.6.0v1.6.0-1
-rw-r--r-- | HISTORY | 8 | ||||
-rw-r--r-- | LICENSE | 2 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | rockspecs/lpeglabel-1.6.0-1.rockspec | 33 |
4 files changed, 42 insertions, 3 deletions
@@ -1,4 +1,10 @@ | |||
1 | HISTORY for LPegLabel 1.5.0-1 | 1 | HISTORY for LPegLabel 1.6.0-1 |
2 | |||
3 | * Changes from version 1.5.0-1 to 1.6.0-1 | ||
4 | --------------------------------- | ||
5 | + updating LPegLabel to the codebase of LPeg (1.1.0?) | ||
6 | + fixing bug related to head fail optimization | ||
7 | |||
2 | 8 | ||
3 | * Changes from version 1.4.0-1 to 1.5.0-1 | 9 | * Changes from version 1.4.0-1 to 1.5.0-1 |
4 | --------------------------------- | 10 | --------------------------------- |
@@ -1,6 +1,6 @@ | |||
1 | The MIT License (MIT) | 1 | The MIT License (MIT) |
2 | 2 | ||
3 | Copyright (c) 2014-2017 Sérgio Medeiros | 3 | Copyright (c) 2014-2019 Sérgio Medeiros |
4 | 4 | ||
5 | Permission is hereby granted, free of charge, to any person obtaining a copy | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy |
6 | of this software and associated documentation files (the "Software"), to deal | 6 | of this software and associated documentation files (the "Software"), to deal |
@@ -87,7 +87,7 @@ not propagate `l`, or calls its associated recovery rule. | |||
87 | 87 | ||
88 | #### <a name="re-t"></a><code>%{l}</code> | 88 | #### <a name="re-t"></a><code>%{l}</code> |
89 | 89 | ||
90 | Syntax of *relabel* module. Equivalent to `lpeg.T(l)`. | 90 | Syntax of *relabel* module. Equivalent to `lpeglabel.T(l)`. |
91 | 91 | ||
92 | Label `l` must be a valid identifier name. | 92 | Label `l` must be a valid identifier name. |
93 | 93 | ||
diff --git a/rockspecs/lpeglabel-1.6.0-1.rockspec b/rockspecs/lpeglabel-1.6.0-1.rockspec new file mode 100644 index 0000000..64f5b6f --- /dev/null +++ b/rockspecs/lpeglabel-1.6.0-1.rockspec | |||
@@ -0,0 +1,33 @@ | |||
1 | package = "LPegLabel" | ||
2 | version = "1.6.0-1" | ||
3 | source = { | ||
4 | url = "https://github.com/sqmedeiros/lpeglabel/archive/v1.6.0-1.tar.gz", | ||
5 | tag = "v1.6.0-1", | ||
6 | dir = "lpeglabel-1.6.0-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 | "lpcap.c", "lpcode.c", "lpprint.c", "lptree.c", "lpvm.c" | ||
30 | }, | ||
31 | relabel = "relabel.lua" | ||
32 | } | ||
33 | } | ||