11 releases

Uses new Rust 2024

0.2.0 Mar 16, 2025
0.1.9 Jun 22, 2024
0.1.8 Apr 2, 2024
0.1.6 Oct 25, 2023
0.1.2 Sep 11, 2021

#2669 in Parser implementations


Used in 2 crates (via shader-sense)

MIT license

5.5MB
160K SLoC

C 160K SLoC JavaScript 146 SLoC Scheme 101 SLoC Rust 33 SLoC // 0.2% comments

tree-sitter-glsl

CI discord matrix npm crates pypi

This is a extension of tree-sitter-c to support the syntax of GLSL (https://www.khronos.org/opengl/wiki/Core_Language_(GLSL)).

Dependencies