aboutsummaryrefslogtreecommitdiff
path: root/definitions.c
AgeCommit message (Collapse)Author
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-26Minor cleanupsBruce Hill
2021-09-23Removed unneccessary importBruce Hill
2021-09-23WIPBruce Hill
2021-09-23Patterns don't need to reference a separate `start` value anymoreBruce Hill
2021-09-23Switched to using an optional typeBruce 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-08-01Cleanup of space/line skipping codeBruce Hill
2021-08-01Changed how definitions workBruce Hill
2021-07-26Introduced cache to greatly speed up many use casesBruce Hill
2021-07-17Simplified backrefs by only doing direct substring matching instead ofBruce Hill
accounting for replacement strings.
2021-05-20Renamed file_t.contents -> file_t.start, added file_t.memory forBruce Hill
canonical tracking of memory for mmap, simplified json printing, and added support for initiating searches on a specific line (and/or column).
2021-05-20Mostly working versionBruce Hill
2021-05-11Code cleanup: adding len parameter to new_pat()Bruce Hill
2021-05-10Added {word} feature and cleaned up the code some.Bruce Hill
2021-01-26Cleaned up some error codeBruce Hill
2021-01-26Removed check() and replaced with err()/errx()Bruce Hill
2021-01-18More static analysis cleanupBruce Hill
2021-01-17Better debug infoBruce Hill
2021-01-17Updated REF and CAPTURE types to store direct pointers to names (with aBruce Hill
len size_t) instead of allocating memory.
2021-01-17Improved argument parsing and added support for prompting user for aBruce Hill
pattern if none is provided
2021-01-16Renamed VM_ to BP_Bruce Hill
2021-01-15Sorting importsBruce Hill
2021-01-15Renamed grammar -> definitionsBruce Hill