3 releases (breaking)

0.3.0 Jun 2, 2024
0.2.0 May 1, 2024
0.1.0 Apr 29, 2024

#1286 in Database interfaces

Download history 438/week @ 2024-04-24 1917/week @ 2024-05-01 2542/week @ 2024-05-08 2466/week @ 2024-05-15 2397/week @ 2024-05-22 2252/week @ 2024-05-29 2627/week @ 2024-06-05

10,189 downloads per month

MIT license

250KB
7K 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
~129K SLoC