aboutsummaryrefslogtreecommitdiff
path: root/lpvm.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Code size stored in code itselfRoberto Ierusalimschy2023-05-291-2/+6
| | | | | | | Most patterns do not have code, as they are not directly used for a match; they are created only to compose larger patterns. So, we shouldn't waste space to store the size of their code, as a NULL pointer already indicates that the size is zero.
* New type name 'uint' (unsigned int)Roberto Ierusalimschy2023-04-281-1/+1
|
* Smaller encoding for charsets in codeRoberto Ierusalimschy2023-04-241-2/+2
|
* Towards a smaller encoding for charsets in codeRoberto Ierusalimschy2023-04-231-3/+15
|
* Field Instruction.key put inside a unionRoberto Ierusalimschy2023-04-211-6/+8
| | | | So that we can get its space for other uses, if needed.
* DocumentationRoberto Ierusalimschy2023-04-101-3/+0
| | | | | Removed '$Id' from all files + updated copyright year + other changes in comments and documentation
* Bug: IBackCommit must remove dynamic captures, tooRoberto Ierusalimschy2019-07-191-1/+1
| | | | | | 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.)
* Implementation of UTF-8 rangesRoberto Ierusalimschy2019-04-171-0/+5
| | | | | 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-1/+2
| | | | | | 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.)
* 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/+58
LPeg repository is being moved to git. Past versions won't be moved; they are still available in RCS.