Commit Graph

30 Commits

Author SHA1 Message Date
45d7aff475 Major overhaul of some of the memory tracking code, as well as some
cleanup of the compilation code.
2021-01-13 01:48:36 -08:00
b27b71608b Standardizing to line-comments instead of block comments 2021-01-12 21:04:43 -08:00
8144ae5dc9 Renamed op.op -> op.type 2021-01-12 19:27:57 -08:00
421880be12 Refactor of grammar logic to instead *only* use a linked list for all
grammar rules and backrefs. This simplifies things a lot.
2021-01-10 01:45:40 -08:00
b8a5d399d7 Removing unnecessary fields 2021-01-10 00:39:34 -08:00
9d1f51c483 Simplified grammars using intrusive linked lists instead of dynamic
arrays
2021-01-10 00:12:09 -08:00
aa91728a08 Replaced (void*) with (match_t*) in struct def 2021-01-09 23:43:59 -08:00
4350d996d1 Simplified ... to ..%\n and $. to ./\n 2021-01-05 00:09:30 -08:00
ff2ef95041 Fully purging "bpeg" from the source 2020-12-30 19:42:47 -08:00
7d4bc36949 Added in-place filtering/replacements 2020-12-27 19:48:52 -08:00
06b1a795bb Better null byte handling, simplified match datastructures, and some
misc. cleanup
2020-12-17 19:49:56 -08:00
484e1e33da Memory allocation failure checks, and a simpler new() function 2020-12-17 16:27:23 -08:00
1ff4a9eb05 Hooked up json 2020-12-14 21:55:36 -08:00
eb329bdac9 Bunch of changes, including some bpeg->bp renaming, and adding
visualizations
2020-12-12 16:31:53 -08:00
1a8095c6d7 Starting to add better error messages 2020-09-28 21:30:43 -07:00
699e7c8b98 Added != 2020-09-28 17:56:02 -07:00
67e538e774 Some error handling 2020-09-17 00:29:11 -07:00
9ee7102f51 Removed (/) (which is just a clunky way to do "") 2020-09-16 21:47:48 -07:00
f35d3c98b2 Added tons of file and line number stuff 2020-09-16 20:38:58 -07:00
6c237850e9 WIP 2020-09-16 19:41:28 -07:00
21807a663d Consolidated repetition ops (instead of '+', '*', '?', etc. now it's all
number based: '1+', '0+', '0-1') and reverted to UPTO_AND behavior
instead of UPTO
2020-09-16 17:57:56 -07:00
17460950a9 Added --ignore-case flag 2020-09-14 12:16:15 -07:00
a82164505e Added nodent support (|) 2020-09-14 01:21:49 -07:00
4135115229 Spruced up a bunch of stuff, tweaked the grammar, added docs 2020-09-13 23:31:38 -07:00
1570dd55e8 Changed "upto-and" syntax to ".."/"..." 2020-09-13 22:04:51 -07:00
1d1c3d35aa Added == operator 2020-09-13 20:33:11 -07:00
c18eb4c996 Added backrefs 2020-09-12 18:20:13 -07:00
d0538fa25f Improved handling of CLI flags 2020-09-11 02:55:15 -07:00
2baadd9ba0 Tightening up the makefile flags and vim modelines 2020-09-11 01:38:44 -07:00
2a11acc667 Major overhaul refactor restructuring 2020-09-11 01:28:06 -07:00