aboutsummaryrefslogtreecommitdiff
path: root/match.h
AgeCommit message (Collapse)Author
2022-10-27Facilitate memory cleanupBruce Hill
2022-10-27Better error handling behaviorBruce Hill
2022-10-27Revert "Moving to each_match() API"Bruce Hill
This reverts commit 9380a54d7cf1795b26be79cd7abbb74a415d0788.
2022-10-26Moving to each_match() APIBruce Hill
2022-10-23Better JSON printing and fixed issue with numbered capturesBruce Hill
2022-05-14Better error handlingBruce Hill
2022-05-14Lib install stuffBruce Hill
2022-04-30Simplified things by passing a def argument to next_match instead ofBruce Hill
chaining defs together. Also simplified `..` by just using a lookahead instead of retconning it. Immutability invariants are now enforced better.
2022-04-09Moving print logic out of match.c and renaming explain -> printmatchBruce Hill
2021-10-01Get rid of cache doubly linked listBruce Hill
2021-10-01Removing refcounting bookkeepingBruce Hill
2021-09-27Removed definitions as a separate type and instead encode that value inBruce Hill
the patterns themselves. This simplifies memory management a lot and speeds up performance.
2021-09-25Some optimization, some cleanupBruce Hill
2021-09-23WIP: working line breaks, formatting, etc. All seems functional, but aBruce Hill
bit messy
2021-09-23WIPBruce Hill
2021-09-23Moved type defs into their own files instead of types.hBruce Hill
2021-09-22Moved capture retrieval logic into match.c and out of print.cBruce Hill
2021-09-21Moving cache logic into match, cleaner next_match() API, and slightlyBruce Hill
less tightly coupled UTF8 API
2021-09-19Moved capture retrieval logic into print.cBruce Hill
2021-08-28Style change: added cino=:0 (i.e. case statements on same indentation asBruce Hill
switch). Also fixed issue where $$ would fail to match with trailing newline on file
2021-08-01Moved caching code onto the file, which fixed an issue with file slicingBruce Hill
having stale cache values.
2021-07-30Removing DEBUG_HEAP, just do a full cleanup all the timeBruce Hill
2021-07-26Introduced cache to greatly speed up many use casesBruce Hill
2021-01-20Added --skip flag for skipping over patternsBruce Hill
2021-01-18More static analyzer cleanup, including switching to use bools whereBruce Hill
appropriate and EXIT_SUCESS/EXIT_FAILURE
2021-01-18Static analysis part 1Bruce Hill
2021-01-15Moved pattern code into the right fileBruce Hill
2021-01-15Renamed vm->matchBruce Hill