aboutsummaryrefslogtreecommitdiff
path: root/types.h
AgeCommit message (Collapse)Author
2021-09-23Moved type defs into their own files instead of types.hBruce Hill
2021-09-23Switched to using an optional typeBruce Hill
2021-09-23WIP implementation of setjmp/longjmp recoveryBruce 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-06Deprecated --confirm flagBruce Hill
2021-08-01Moved caching code onto the file, which fixed an issue with file slicingBruce Hill
having stale cache values.
2021-08-01Changed how definitions workBruce Hill
2021-07-30Added strict mode for upto operator: ..=AbcBruce Hill
2021-07-30Linked list management cleanupBruce Hill
2021-07-29Tweaks and optimizationsBruce Hill
2021-07-26Performance improvements for cachingBruce Hill
2021-07-26Introduced cache to greatly speed up many use casesBruce Hill
2021-07-19Overhaul of word boundaries/edges. Now they use \b, which is implementedBruce Hill
in C, and the C code understands UTF8 id chars.
2021-07-17Simplified backrefs by only doing direct substring matching instead ofBruce Hill
accounting for replacement strings.
2021-05-20Mostly working versionBruce Hill
2021-05-20Added (!) syntax for errors with proper opcode supportBruce Hill
2021-05-19Added ~ and !~ operators as replacements for == and !=Bruce Hill
2021-05-11Converted ^/^^/$/$$ into pattern types instead of builtin definitionsBruce Hill
2021-01-20Tweaked `..` syntax to make it more flexible (now: `.. % skip pat`)Bruce Hill
2021-01-18More boolsBruce Hill
2021-01-18More static analyzer cleanupBruce Hill
2021-01-18More static analyzer cleanup, including switching to use bools whereBruce Hill
appropriate and EXIT_SUCESS/EXIT_FAILURE
2021-01-18Checking more return values (per static analyzer)Bruce 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-15Renaming files: printing->print, file_loader->filesBruce Hill
2021-01-15Renaming 'op' member fields to 'pat'Bruce Hill
2021-01-15allocated_op -> allocated_patBruce Hill
2021-01-15Removing opcode referencesBruce Hill
2021-01-15Renaming op -> pat, phase 1 refactorBruce Hill
2021-01-15Added interactive confirmation mode for replacing textBruce Hill
2021-01-15Cleaned up and simplified global state setting stuff (e.g. --verbose)Bruce Hill
2021-01-15Major overhaul of how different modes of behavior work. Approximately 2xBruce Hill
speedup and 2x memory footprint reduction. Also removed --mode and VM_HIDE (~ operator), and added --context. Printing works better now.
2021-01-14Made all the heap garbage collection code optional, which saves someBruce Hill
time and memory.
2021-01-14Overhaul of memory tracking and left recursion. Added explanation docBruce Hill
for left recursion and fixed all visible memory leaks.
2021-01-13Working towards zero memory leakageBruce Hill
2021-01-13Major overhaul of some of the memory tracking code, as well as someBruce Hill
cleanup of the compilation code.
2021-01-12Standardizing to line-comments instead of block commentsBruce Hill
2021-01-12Renamed op.op -> op.typeBruce Hill
2021-01-10Refactor of grammar logic to instead *only* use a linked list for allBruce Hill
grammar rules and backrefs. This simplifies things a lot.
2021-01-10Removing unnecessary fieldsBruce Hill
2021-01-10Simplified grammars using intrusive linked lists instead of dynamicBruce Hill
arrays
2021-01-09Replaced (void*) with (match_t*) in struct defBruce Hill
2021-01-05Simplified `...` to `..%\n` and `$.` to `./\n`Bruce Hill
2020-12-30Fully purging "bpeg" from the sourceBruce Hill
2020-12-27Added in-place filtering/replacementsBruce Hill
2020-12-17Better null byte handling, simplified match datastructures, and someBruce Hill
misc. cleanup
2020-12-17Memory allocation failure checks, and a simpler new() functionBruce Hill
2020-12-14Hooked up jsonBruce Hill