2 unstable releases

0.2.0 May 1, 2024
0.1.0 Apr 29, 2024

#1211 in Database interfaces

Download history 1133/week @ 2024-04-26 2253/week @ 2024-05-03

3,497 downloads per month

MIT license

245KB
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

~7.5MB
~145K SLoC