aboutsummaryrefslogtreecommitdiff
path: root/test.lua (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Small improvementsHEADmasterRoberto Ierusalimschy2024-06-171-1/+1
|
* Accumulator pattern added to the 're' moduleRoberto Ierusalimschy2023-06-221-0/+7
|
* Some fixes in vibibility check for back capturesRoberto Ierusalimschy2023-06-191-0/+29
|
* First implementation for the accumulator captureRoberto Ierusalimschy2023-06-061-5/+12
|
* New macros 'fillset' and 'clearset'Roberto Ierusalimschy2023-04-271-0/+6
|
* Compact charsets used in trees, too.Roberto Ierusalimschy2023-04-271-1/+3
|
* Towards a smaller encoding for charsets in codeRoberto Ierusalimschy2023-04-231-0/+2
|
* Small extra testRoberto Ierusalimschy2023-04-111-2/+6
|
* Bug: IBackCommit must remove dynamic captures, tooRoberto Ierusalimschy2019-07-191-0/+11
| | | | | | Like a fail, a IBackCommit instruction must remove any dynamic capture made inside an 'and' pattern. (The added test for this problem needs assertions on to detect the bug.)
* 'lpeg.version' changed to a stringRoberto Ierusalimschy2019-04-221-1/+2
|
* Implementation of UTF-8 rangesRoberto Ierusalimschy2019-04-171-1/+57
| | | | | New constructor 'lpeg.utfR(from, to)' creates a pattern that matches UTF-8 byte sequences representing code points in the range [from, to].
* Removed 'unsigned char' limit on number of rules in grammarsRoberto Ierusalimschy2019-04-141-3/+22
| | | | | | Added a new tree-type node 'TXInfo', which follows 'TRule' nodes, to store extra information about a node. (In this case, the rule number, with an 'unsigned short' field.)
* Avoid stack overflow when handling nested capturesRoberto Ierusalimschy2019-02-201-0/+10
| | | | | | The C code uses recursion to handle nested captures, so a too deep nesting could create a stack overflow. The fix limits the handling of nested captures to 'MAXRECLEVEL' (default is 200 levels).
* Removed extra information from RCS keyword stringsRoberto Ierusalimschy2019-02-201-1/+1
| | | | | Version numbers and dates from RCS keyword strings removed from all source files; keeps only the file name.
* Fist version of LPeg on GITRoberto Ierusalimschy2019-02-201-0/+1513
LPeg repository is being moved to git. Past versions won't be moved; they are still available in RCS.