134 releases (32 breaking)

new 0.33.0 Jan 5, 2025
0.32.3 Dec 30, 2024
0.31.1 Dec 8, 2024
0.30.1 Nov 26, 2024
0.1.0 Jul 7, 2022

#2933 in Parser implementations

Download history 509/week @ 2024-09-18 317/week @ 2024-09-25 481/week @ 2024-10-02 290/week @ 2024-10-09 543/week @ 2024-10-16 220/week @ 2024-10-23 892/week @ 2024-10-30 373/week @ 2024-11-06 282/week @ 2024-11-13 471/week @ 2024-11-20 887/week @ 2024-11-27 534/week @ 2024-12-04 623/week @ 2024-12-11 582/week @ 2024-12-18 486/week @ 2024-12-25 668/week @ 2025-01-01

2,422 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