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

#74 in Database implementations

Download history 1265/week @ 2024-08-01 1259/week @ 2024-08-08 1144/week @ 2024-08-15 1399/week @ 2024-08-22 1335/week @ 2024-08-29 1582/week @ 2024-09-05 1619/week @ 2024-09-12 2235/week @ 2024-09-19 1727/week @ 2024-09-26 1719/week @ 2024-10-03 2849/week @ 2024-10-10 2464/week @ 2024-10-17 2178/week @ 2024-10-24 1841/week @ 2024-10-31 1689/week @ 2024-11-07 1915/week @ 2024-11-14

8,084 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

~4–5.5MB
~104K SLoC