99 releases (21 breaking)

new 0.22.3 May 13, 2024
0.21.4 May 6, 2024
0.20.2 Mar 27, 2024
0.16.0 Dec 29, 2023
0.1.0 Jul 7, 2022

#2804 in Parser implementations

Download history 166/week @ 2024-01-26 104/week @ 2024-02-02 226/week @ 2024-02-09 485/week @ 2024-02-16 685/week @ 2024-02-23 194/week @ 2024-03-01 429/week @ 2024-03-08 255/week @ 2024-03-15 816/week @ 2024-03-22 280/week @ 2024-03-29 739/week @ 2024-04-05 264/week @ 2024-04-12 561/week @ 2024-04-19 394/week @ 2024-04-26 840/week @ 2024-05-03 667/week @ 2024-05-10

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

MIT license

160KB
4.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