120 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.3.2 Mar 11, 2023

#475 in Programming languages

Download history 454/week @ 2024-09-18 270/week @ 2024-09-25 397/week @ 2024-10-02 192/week @ 2024-10-09 451/week @ 2024-10-16 209/week @ 2024-10-23 858/week @ 2024-10-30 345/week @ 2024-11-06 260/week @ 2024-11-13 412/week @ 2024-11-20 831/week @ 2024-11-27 503/week @ 2024-12-04 576/week @ 2024-12-11 524/week @ 2024-12-18 432/week @ 2024-12-25 505/week @ 2025-01-01

2,093 downloads per month
Used in 6 crates (5 directly)

MIT license

225KB
6.5K SLoC

This module defines the supported programming languages for ast-grep.

It provides a set of customized languages with expando_char / pre_process_pattern, and a set of stub languages without preprocessing. A rule of thumb: if your language does not accept identifiers like $VAR. You need use impl_lang_expando! macro and a standalone file for testing. Otherwise, you can define it as a stub language using impl_lang!. To see the full list of languages, visit <https://ast-grep.github.io/reference/languages.html>

Dependencies

~5–75MB
~2M SLoC