Commit Graph

65 Commits

Author SHA1 Message Date
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
14ae16d987 Fixed -d flag bug 2020-12-17 18:53:16 -08:00
b3bca46c2f Added --list-files 2020-12-17 16:23:29 -08:00
6c3654161c Better arg parsing 2020-12-14 22:32:47 -08:00
f019a4fcb1 Fix for json header file 2020-12-14 22:20:16 -08:00
e638a517bf Re-hooked up JSON output 2020-12-14 21:58:38 -08:00
1ff4a9eb05 Hooked up json 2020-12-14 21:55:36 -08:00
52f154d53f Removed colon after filename in output 2020-12-14 21:43:06 -08:00
eb329bdac9 Bunch of changes, including some bpeg->bp renaming, and adding
visualizations
2020-12-12 16:31:53 -08:00
f2f10586bb Bugfixes 2020-09-28 22:22:05 -07:00
f7430e443a Major improvements to error messages 2020-09-28 22:02:00 -07:00
1a8095c6d7 Starting to add better error messages 2020-09-28 21:30:43 -07:00
67e538e774 Some error handling 2020-09-17 00:29:11 -07:00
9f62d3c7a9 Changed arg parsing to '-d foo:baz' for consistency (was: '-d foo=baz') 2020-09-16 22:39:33 -07:00
9ee7102f51 Removed (/) (which is just a clunky way to do "") 2020-09-16 21:47:48 -07:00
4f68ec87a2 Exit 1 iff *all* files fail to match instead of *any* 2020-09-16 21:34:55 -07:00
e7629990be Check files can be opened 2020-09-16 21:32:08 -07:00
38ed25ce9b Moving more behavior over to definitions 2020-09-16 20:57:59 -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
99404cb480 Improved CLI error handling 2020-09-14 12:39:31 -07:00
17460950a9 Added --ignore-case flag 2020-09-14 12:16:15 -07:00
9f2d5464d6 Cleanup 2020-09-13 23:36:45 -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
c589b46b4f Updated usage 2020-09-13 16:13:01 -07:00
ba5b5196ce Added default * **/* glob handling when no files provided 2020-09-13 15:55:09 -07:00
8f090c68c0 Don't use color for non-tty outputs, added -m mode argument 2020-09-13 00:37:17 -07:00
877526b5df Fixes for CLI flags 2020-09-12 20:05:55 -07:00
c18eb4c996 Added backrefs 2020-09-12 18:20:13 -07:00
c0125378b9 Fancier grammar loading logic 2020-09-12 15:49:51 -07:00
65f0a29b55 Moving towards separate grammar files. 2020-09-12 15:11:44 -07:00
e967345937 Tweaks to CLI, bugfix for escape replacements 2020-09-12 01:32:59 -07:00
5c047efcb7 Tidying up 2020-09-11 03:00:30 -07:00
d0538fa25f Improved handling of CLI flags 2020-09-11 02:55:15 -07:00
2f05677c98 Better rule for replacing 2020-09-11 02:07:53 -07:00
0c20c39f41 Made more grep-like 2020-09-11 02:04:01 -07:00
f64467af21 Updated makefile, added manpage 2020-09-11 01:54:26 -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
8a846230f7 Fixed/tidied replacement logic 2020-09-10 23:11:08 -07:00
238ab2afa7 Added flags for defining rules 2020-09-10 22:50:49 -07:00
b93d8979bd Misc. tweaks and visualization changes, capitalized some rules 2020-09-10 22:42:47 -07:00
af60c05236 Fixes, getting closer to meta-parsing 2020-09-10 03:52:16 -07:00
4e201e6a70 Added dashes to identifiers 2020-09-10 03:41:03 -07:00
aa0b8fc591 Added multiline variants of operators 2020-09-10 03:20:07 -07:00
ace2f9f178 Added escape ranges 2020-09-10 02:14:47 -07:00
8126489f81 Some bug fixes, syntax tweaks, added ^^/$$/__, and bpeg meta grammar. 2020-09-10 02:02:40 -07:00