aboutsummaryrefslogtreecommitdiff
path: root/types.h
AgeCommit message (Collapse)Author
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
2020-12-12Bunch of changes, including some bpeg->bp renaming, and addingBruce Hill
visualizations
2020-09-28Starting to add better error messagesBruce Hill
2020-09-28Added !=Bruce Hill
2020-09-17Some error handlingBruce Hill
2020-09-16Removed (/) (which is just a clunky way to do "")Bruce Hill
2020-09-16Added tons of file and line number stuffBruce Hill
2020-09-16WIPBruce Hill
2020-09-16Consolidated repetition ops (instead of '+', '*', '?', etc. now it's allBruce Hill
number based: '1+', '0+', '0-1') and reverted to UPTO_AND behavior instead of UPTO
2020-09-14Added --ignore-case flagBruce Hill
2020-09-14Added nodent support (|)Bruce Hill
2020-09-13Spruced up a bunch of stuff, tweaked the grammar, added docsBruce Hill
2020-09-13Changed "upto-and" syntax to ".."/"..."Bruce Hill
2020-09-13Added == operatorBruce Hill
2020-09-12Added backrefsBruce Hill