141 releases (34 breaking)

new 0.35.0 Feb 15, 2025
0.34.3 Jan 27, 2025
0.32.3 Dec 30, 2024
0.30.1 Nov 26, 2024
0.1.0 Jul 7, 2022

#2925 in Parser implementations

Download history 789/week @ 2024-10-28 308/week @ 2024-11-04 432/week @ 2024-11-11 278/week @ 2024-11-18 570/week @ 2024-11-25 934/week @ 2024-12-02 409/week @ 2024-12-09 933/week @ 2024-12-16 229/week @ 2024-12-23 784/week @ 2024-12-30 460/week @ 2025-01-06 568/week @ 2025-01-13 347/week @ 2025-01-20 4465/week @ 2025-01-27 4792/week @ 2025-02-03 4830/week @ 2025-02-10

14,463 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
~114K SLoC