aboutsummaryrefslogtreecommitdiff
path: root/lpcode.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Code size stored in code itselfRoberto Ierusalimschy2023-05-291-16/+51
| | | | | | | 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
|
* New macros 'fillset' and 'clearset'Roberto Ierusalimschy2023-04-271-1/+1
|
* Compact charsets used in trees, too.Roberto Ierusalimschy2023-04-271-80/+38
|
* New module 'lpcset'Roberto Ierusalimschy2023-04-261-75/+6
| | | | For code related to compact sets.
* Instruction array grows by factor of 1.5Roberto Ierusalimschy2023-04-251-9/+18
|
* Fixing several bugs left in previous commitRoberto Ierusalimschy2023-04-251-19/+42
|
* Smaller encoding for charsets in codeRoberto Ierusalimschy2023-04-241-70/+128
|
* Towards a smaller encoding for charsets in codeRoberto Ierusalimschy2023-04-231-9/+14
|
* Field Instruction.key put inside a unionRoberto Ierusalimschy2023-04-211-8/+8
| | | | So that we can get its space for other uses, if needed.
* DocumentationRoberto Ierusalimschy2023-04-101-4/+0
| | | | | Removed '$Id' from all files + updated copyright year + other changes in comments and documentation
* DetailsRoberto Ierusalimschy2022-07-061-3/+2
|
* Implementation of UTF-8 rangesRoberto Ierusalimschy2019-04-171-11/+32
| | | | | 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-8/+10
| | | | | | 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/+1014
LPeg repository is being moved to git. Past versions won't be moved; they are still available in RCS.