#tree-sitter #parser #syntastica #build-script #collection #git #fetching

syntastica-parsers-git

Collection of tree-sitter parsers for syntastica, fetching with git in the build-script

3 releases (breaking)

0.4.1 Sep 19, 2023
0.3.0 May 26, 2023
0.1.1 May 24, 2023

#4 in #syntastica

Download history 3/week @ 2024-02-21 14/week @ 2024-02-28 1/week @ 2024-03-06 4/week @ 2024-03-13 12/week @ 2024-03-27 71/week @ 2024-04-03 11/week @ 2024-04-10

94 downloads per month
Used in syntastica

GPL-3.0-only

455KB
24K SLoC

Scheme 23K SLoC Rust 1K SLoC // 0.0% comments C 1 SLoC

syntastica-parsers-git

Collection of tree-sitter parsers for syntastica, fetching with git in the build-script.

See the project overview for more information on all parser collections.

Improving compilation speed

Due to the nature of this parser collection, compilation can take a very long time with many parsers enabled, since all parsers are cloned and built every time the build script is run. In a local development environment you can use the following environment variables to reuse files from a previous run.

Option one: Setting a different clone directory

You can set SYNTASTICA_PARSERS_CLONE_DIR to a directory to clone the parser repositories to, so that they only have to be built but not downloaded every time.

Option two: Reusing built archives

Set SYNTASTICA_PARSERS_CACHE_DIR to a directory where all built parsers will be copied to. When a binary for a parser is already present in that directory, it will be reused the next time the build script is run.

List of included parsers

List of parsers included in the some feature
List of parsers additionally included in the most feature
List of parsers additionally included in the all feature

Dependencies

~5.5–8MB
~155K SLoC