Crates.io | tree-sitter-hare |
lib.rs | tree-sitter-hare |
version | 0.20.8 |
source | src |
created_at | 2022-05-07 11:18:19.289122 |
updated_at | 2022-06-28 02:15:03.831198 |
description | Hare grammar for the tree-sitter parsing library |
homepage | |
repository | https://git.sr.ht/~ghishadow/tree-sitter-hare |
max_upload_size | |
id | 582065 |
size | 1,340,424 |
Note: fork of Hare to better support Rust based tree-sitter binding specially lapce.dev
Hare grammar for the popular incremental parser generator tree-sitter.
status: the majority of sources in examples
(Hare stdlib) is recognized fine - sources containing
\\
in strings fail, due to them getting parsed as comments
as a consequence to tree-sitter precedence rules.
For a list of features offered by tree-sitter refer to their site. Summarily, one of the main features is context-aware highlight (e.g. local variables are highlighted differently than function parameters).
This grammar can be used in a number of editors and different situations (github uses it, for example) - at this stage it must be inserted manually into your editor. See, for example, nvim-treesitter.