78 releases (20 breaking)
new 0.21.1 | Apr 24, 2024 |
---|---|
0.20.5 | Apr 11, 2024 |
0.20.2 | Mar 27, 2024 |
0.16.0 | Dec 29, 2023 |
0.3.2 | Mar 11, 2023 |
#463 in Programming languages
1,624 downloads per month
Used in 5 crates
(4 directly)
200KB
5.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–70MB
~2M SLoC