#query-language #ast #gritql #pl

grit-pattern-matcher

Pattern definitions and core matching logic for GritQL

6 releases (breaking)

0.5.1 Jan 7, 2025
0.5.0 Oct 25, 2024
0.4.0 Oct 10, 2024
0.3.0 Jun 2, 2024
0.1.0 Apr 29, 2024

#289 in Math

Download history 810/week @ 2024-12-15 963/week @ 2024-12-22 941/week @ 2024-12-29 1314/week @ 2025-01-05 1095/week @ 2025-01-12 1482/week @ 2025-01-19 1276/week @ 2025-01-26 1349/week @ 2025-02-02 1302/week @ 2025-02-09 1106/week @ 2025-02-16 836/week @ 2025-02-23 1247/week @ 2025-03-02 1001/week @ 2025-03-09 883/week @ 2025-03-16 835/week @ 2025-03-23 854/week @ 2025-03-30

3,676 downloads per month

MIT license

280KB
7.5K SLoC

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.


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.

Dependencies

~5–6.5MB
~126K SLoC