5 releases

0.2.3 Jun 22, 2024
0.2.2 Apr 2, 2024
0.2.1 Apr 2, 2024
0.2.0 Apr 1, 2024
0.1.0 Feb 21, 2024

#395 in Text editors

Download history 58/week @ 2024-12-02 101/week @ 2024-12-09 6/week @ 2024-12-16 4/week @ 2025-01-06 4/week @ 2025-01-13

404 downloads per month

MIT license

24MB
723K SLoC

C 723K SLoC // 0.0% comments JavaScript 106 SLoC // 0.1% comments Rust 36 SLoC // 0.1% comments

tree-sitter-slang

CI discord matrix npm crates pypi

This is a extension of tree-sitter-cpp and tree-sitter-hlsl to support the syntax of slang.

Limitations/TODOs:

  • ambiguity between HLSL semantics and Slang type hints

Dependencies

~2.7–4MB
~74K SLoC