5 releases (breaking)

0.5.0 Oct 25, 2024
0.4.0 Oct 10, 2024
0.3.0 Jun 2, 2024
0.2.0 May 1, 2024
0.1.0 Apr 29, 2024

#50 in Database implementations

Download history 1194/week @ 2024-08-11 1231/week @ 2024-08-18 1363/week @ 2024-08-25 1533/week @ 2024-09-01 1555/week @ 2024-09-08 1683/week @ 2024-09-15 2140/week @ 2024-09-22 1743/week @ 2024-09-29 2144/week @ 2024-10-06 2894/week @ 2024-10-13 2272/week @ 2024-10-20 1958/week @ 2024-10-27 1721/week @ 2024-11-03 1784/week @ 2024-11-10 1763/week @ 2024-11-17 1540/week @ 2024-11-24

7,057 downloads per month

MIT license

280KB
7.5K SLoC

grit-pattern-matcher

This crate contains all the pattern definitions that are at the heart of the GritQL engine. There's a Matcher trait that's implemented by the patterns, which implements the matching logic.

It is important this crate stays free of TreeSitter dependencies, since it is intended to be reusable by other engines which may use their own parser infrastructure.


lib.rs:

Grit pattern definitions and matching logic

This crate contains all the pattern definitions that are at the heart of the GritQL engine. There's the pattern::Matcher trait that's implemented by the patterns, which implements the matching logic.

Dependencies

~5–6.5MB
~124K SLoC