An incremental parsing system for programming tools https://tree-sitter.github.io
Find a file
Mehmet Oguz Derin eca777f501
Add WGSL WebGPU Shading Language
This PR adds WebGPU Shading Language to the list of available grammars, the linked repository's grammar is periodically automatically extracted from the WGSL specification itself, which is actually extracted every single time where the specification gets a modification in itself to check the validity of both the syntax and the examples. Thank you very much for developing and maintaining tree-sitter, fantastic project!
2021-09-17 18:54:14 +03:00
.github/workflows Put emscripten-version file in cli directory 2021-09-03 13:57:45 -07:00
cli feat(cli): add a flag to compile a parser in debug mode with -O0 C/C++ compiler flag 2021-09-13 13:48:02 +03:00
docs Add WGSL WebGPU Shading Language 2021-09-17 18:54:14 +03:00
highlight Bump tree-sitter dep version in tags and highlight crate 2021-09-03 13:31:26 -07:00
lib feat(rust): Add an id() method for QueryMatch 2021-09-14 19:08:29 +03:00
script Put emscripten-version file in cli directory 2021-09-03 13:57:45 -07:00
tags Bump tree-sitter dep version in tags and highlight crate 2021-09-03 13:31:26 -07:00
test Handle aliases in unicode property escapes in regexes 2021-08-18 22:22:46 -07:00
.appveyor.yml Build and test wasm on CI 2019-04-26 14:38:13 -07:00
.gitattributes lib: remove utf8proc dependency (#436) 2019-10-14 11:18:39 -07:00
.gitignore Bump lib tree-sitter dependency versions in loader crate 2021-09-03 13:29:03 -07:00
Cargo.lock Update smallbitvec dependency 2021-08-08 21:45:43 +02:00
Cargo.toml Move code into cli directory 2019-01-04 16:50:52 -08:00
CONTRIBUTING.md Tweak readmes 2020-05-12 16:16:48 -07:00
LICENSE chore(cli): Add the LICENSE file to the tree-sitter-cli npm package 2021-08-22 03:13:46 +03:00
Makefile Fix compilation warnings (#635) 2020-06-03 12:19:57 -07:00
README.md Add zenodo citation badge to readme 2021-03-18 12:16:03 -07:00
tree-sitter.pc.in Add a simple Makefile-based build system. 2020-04-21 23:49:19 -04:00

tree-sitter

Build Status Build status DOI

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 aims to be:

  • General enough to parse any programming language
  • Fast enough to parse on every keystroke in a text editor
  • Robust enough to provide useful results even in the presence of syntax errors
  • Dependency-free so that the runtime library (which is written in pure C) can be embedded in any application