| Crates.io | pepegsitter |
| lib.rs | pepegsitter |
| version | 0.2.2 |
| created_at | 2022-10-26 15:40:16.231794+00 |
| updated_at | 2024-02-19 19:31:17.243147+00 |
| description | Collection of Tree-Sitter parsers |
| homepage | |
| repository | https://github.com/Dav1dde/PepegSitter |
| max_upload_size | |
| id | 697998 |
| size | 113,522,568 |
A collection of tree sitter parsers packaged into a single crate with tree-sitter-highlight support.
The build.rs is also tuned to statically link parsers that depend on libstdc++.
Every parser is included as a git submodule and has it's own Cargo Feature.
Enable the parsers you need through cargo features, by default all features are enabled.
// Get the TreeSitter language
let _ = pepegsitter::bash::language();
// Get a new `HighlightConfiguration` for the language.
let _ = pepegsitter::bash::highlight();
// Queries are accessible module constants.
let _ = pepegsitter::bash::HIGHLIGHT_QUERY;
Currently includes the following parsers: