~ghishadow/tree-sitter-hare

Hare grammar for tree-sitter
7d9080c7 — Suraj Ghimire 2 years ago
regenerate parser, add new highlights,update tree-sitter
82ca8e5e — Suraj Ghimire 2 years ago
update to tree-sitter 0.20.8
c0a6cc39 — Suraj Ghimire 2 years ago
update tree-sitter rust version to 0.20.7

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~ghishadow/tree-sitter-hare
read/write
git@git.sr.ht:~ghishadow/tree-sitter-hare

You can also use your local clone with git send-email.

#tree-sitter-hare

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.

#References