Tree-sitter
Tree-sitter is a parser generator tool and an incremental parsing
library. It can build a concrete syntax tree for a source file and
efficiently update the syntax tree as the source file is
edited. Tree-sitter grammars can be reused in many different
languages.
Here are 289 public repositories matching this topic...
-
Updated
May 19, 2022 - Rust
-
Updated
Apr 29, 2022 - TypeScript
Tree-sitter states that it has "fairly complete" support for 34 languages with 12 more in development.
Right now this project states its support for 11 languages. Is there a way we can increase this number?
-
Updated
May 19, 2022 - C
-
Updated
May 2, 2022 - Rust
-
Updated
May 18, 2022 - Scheme
-
Updated
May 15, 2022 - Emacs Lisp
-
Updated
May 9, 2022 - Lua
-
Updated
May 19, 2022 - Go
-
Updated
Feb 10, 2022 - Lua
-
Updated
Apr 7, 2022 - Lua
It would be an helpful addition to include the information provided by the highlight command besides Treesitter and Syntax if possible.
I get that currently with an extra function but perhaps it would be possible to integrate that in the TSHighlightCapturesUnderCursor popup?
Since I'm never sure whether I use the correct words and terms I've created a picture to clarify what I mean:
!
-
Updated
May 2, 2022 - Rust
-
Updated
Dec 8, 2021 - Nim
Here, the only word that should be marked is exampl:
\begin{titlingpage}
\textbf{This is an exampl:} \cite{somecitation}
\end{titlingpage}-
Updated
May 12, 2022 - C
Add more languages
Either add on to existing queries or add support for new languages. Relevant queries can be found using playground. See existing queries for examples (Rust is a good example).
-
Updated
Apr 20, 2022 - Lua
-
Updated
Feb 21, 2022 - Lua
-
Updated
Apr 11, 2022 - Scheme
(Elisp)-tree-sitter represents sections of the code it cannot parse as ERRORsymbol tokens. Currently the parser will fail as if a transformation is invalid if any ERROR tokens are present. Instead, we should check if the tokens in an operation contain ERROR, and alert the user that their code is malformed if so.
-
Updated
Dec 20, 2021 - Lua
-
Updated
Feb 13, 2022 - TypeScript
Created by maxbrunsfeld
Released 2019
Latest release 3 months ago
- Repository
- tree-sitter/tree-sitter
- Website
- tree-sitter.github.io
Currently, the lockfile only contains the commit hash of a parser. This is fine for the most part, but if we switch parsers for a language in
parsers.lua, this will not be picked up by:TSUpdate, leading to a broken installation.Instead, the lockfile should contain the full URL of the parser (repo and branch), and that should be checked (and kept updated via the CI action).