7 releases

Uses new Rust 2024

0.2.0 Mar 23, 2025
0.1.5 Jun 22, 2024
0.1.4 Apr 2, 2024
0.1.2 Aug 20, 2022

#2904 in Parser implementations

21 downloads per month
Used in 2 crates (via shader-sense)

MIT license

21MB
614K SLoC

C 614K SLoC // 0.0% comments JavaScript 84 SLoC Rust 35 SLoC // 0.1% comments

tree-sitter-hlsl

CI discord matrix npm crates pypi

This is a extension of tree-sitter-cpp to support the syntax of HLSL (https://docs.microsoft.com/en-us/windows/win32/direct3dhlsl/dx-graphics-hlsl).

Dependencies