126 releases (29 breaking)

0.30.0 Nov 11, 2024
0.28.1 Oct 20, 2024
0.25.4 Jul 26, 2024
0.20.2 Mar 27, 2024
0.1.0 Jul 7, 2022

#2909 in Parser implementations

Download history 790/week @ 2024-08-03 353/week @ 2024-08-10 321/week @ 2024-08-17 401/week @ 2024-08-24 247/week @ 2024-08-31 797/week @ 2024-09-07 179/week @ 2024-09-14 607/week @ 2024-09-21 222/week @ 2024-09-28 497/week @ 2024-10-05 378/week @ 2024-10-12 450/week @ 2024-10-19 667/week @ 2024-10-26 457/week @ 2024-11-02 409/week @ 2024-11-09 231/week @ 2024-11-16

1,795 downloads per month
Used in 10 crates (9 directly)

MIT license

170KB
5K SLoC

This module contains the core library for ast-grep.

It provides APIs for parsing, traversing, searching and replacing tree-sitter nodes. Usually you will only need ast-grep CLI instead of this crate. But if you want to use ast-grep as a library, this is the right place.

Dependencies

~3–6MB
~111K SLoC