135 releases (32 breaking)

new 0.33.1 Jan 13, 2025
0.32.3 Dec 30, 2024
0.30.1 Nov 26, 2024
0.25.4 Jul 26, 2024
0.1.0 Jul 7, 2022

#2930 in Parser implementations

Download history 277/week @ 2024-09-26 501/week @ 2024-10-03 358/week @ 2024-10-10 470/week @ 2024-10-17 435/week @ 2024-10-24 663/week @ 2024-10-31 387/week @ 2024-11-07 298/week @ 2024-11-14 531/week @ 2024-11-21 849/week @ 2024-11-28 520/week @ 2024-12-05 822/week @ 2024-12-12 347/week @ 2024-12-19 486/week @ 2024-12-26 683/week @ 2025-01-02 617/week @ 2025-01-09

2,397 downloads per month
Used in 10 crates (9 directly)

MIT license

175KB
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
~112K SLoC