Commit Graph

569 Commits

Author SHA1 Message Date
3ed2c19594 Use #pragma once 2022-11-07 22:54:59 -05:00
372eb2647f Added a column getter 2022-11-03 12:55:01 -04:00
611cf8441a Fixing up more edge cases for retrieving captures 2022-10-30 17:01:17 -04:00
b306f72050 Another fix to numbered captures 2022-10-30 16:50:19 -04:00
3296ce42d9 Fix for numbered capture logic 2022-10-27 20:23:51 -04:00
69740ed659 Fix json output 2022-10-27 20:19:21 -04:00
07f335f367 Fix for getting @1 from a tagged capture 2022-10-27 13:38:19 -04:00
3fdd5211d9 Facilitate memory cleanup 2022-10-27 13:24:35 -04:00
e258645a52 Better error handling behavior 2022-10-27 13:17:23 -04:00
54e87ff91e Reapply fix for compiler warning 2022-10-27 12:52:05 -04:00
951a68f449 Pulling back bugfix 2022-10-27 12:50:32 -04:00
2bc0ca7390 Revert "Moving to each_match() API"
This reverts commit 9380a54d7c.
2022-10-27 12:49:31 -04:00
538706858e Bugfix 2022-10-27 00:05:30 -04:00
f29bf54ffb Fix warning 2022-10-26 20:28:16 -04:00
645081f64e Fixed lua to work with new API 2022-10-26 20:26:58 -04:00
9380a54d7c Moving to each_match() API 2022-10-26 20:12:18 -04:00
ed737a76ba Fix for profiling 2022-10-26 19:30:04 -04:00
0e0269def1 Added new profile 2022-10-26 19:28:57 -04:00
9e07e08a48 Microoptimizations 2022-10-26 13:38:38 -04:00
6b8f1a09d0 Added profile rule 2022-10-26 13:19:38 -04:00
302bfa11e7 Bugfix 2022-10-23 00:34:20 -04:00
5db008dbd2 Better JSON printing and fixed issue with numbered captures 2022-10-23 00:15:49 -04:00
23c64e386c Changed how tags work, changed Lua API for handling match captures 2022-05-14 22:43:13 -04:00
5fd2f6b8c5 Bugfix for (Foo: :X blah) parsing as (Foo:: X blah) 2022-05-14 16:04:07 -04:00
ca89d65513 Better error handling 2022-05-14 16:01:37 -04:00
563ecf332e Allow optional colon for :Tag:foo 2022-05-14 15:21:05 -04:00
2988080c32 Added :tag 2022-05-14 15:18:54 -04:00
d62fd1eb96 Lib install stuff 2022-05-14 14:31:34 -04:00
56da250d69 Split backref/named captures into separate concepts for performance
reasons.
2022-05-12 12:11:28 -04:00
e484a88815 Added image 2022-05-05 00:50:38 -04:00
52d022fc2f Fix for source code ranges of suffix patterns 2022-05-05 00:45:57 -04:00
3944a36f14 Updated docs 2022-05-02 18:01:45 -04:00
af668004e8 Updated Make rules so default is bp 2022-05-02 17:25:18 -04:00
eb0f18dc79 Added recursive make rules 2022-05-02 17:24:20 -04:00
e071ac7b12 Bugfix for left recursion 2022-05-02 17:23:02 -04:00
892708a651 Cleaned up pattern capture structuring with tagged matches 2022-04-30 18:05:43 -04:00
4a2a71d4d8 Updated docs 2022-04-30 15:26:58 -04:00
206e1fa68f Added tagged definitions: foo:: blah 2022-04-30 15:23:02 -04:00
24ed834317 Simplified things by passing a def argument to next_match instead of
chaining defs together. Also simplified `..` by just using a lookahead
instead of retconning it. Immutability invariants are now enforced
better.
2022-04-30 14:19:08 -04:00
e5c0d09893 Added printmatch 2022-04-27 19:13:32 -04:00
8b88c1784e Later-chained defs take precedence over more recently chained defs 2022-04-27 19:12:28 -04:00
28efb8937b Simplify printing of chains 2022-04-24 14:03:33 -04:00
ef07c8a22e Made NULL end values default to strlen() 2022-04-21 12:54:09 -04:00
bae576a997 Enhancing the illusion of a shell 2022-04-09 14:30:50 -04:00
f33e2e1ec9 Added leading zeroes 2022-04-09 14:24:06 -04:00
49dddd713e Tutorial uses --pattern for clarity 2022-04-09 14:20:48 -04:00
326a0b960c Moving print logic out of match.c and renaming explain -> printmatch 2022-04-09 14:15:07 -04:00
c51a91c470 Git bookkeeping 2022-04-04 13:44:01 -04:00
ee8fb64e97 Rewording 2022-04-01 12:25:12 -04:00
c1c4f2109b Fixed typo 2022-02-28 18:45:34 -05:00