#wgsl #incremental #parser

tree-sitter-wgsl-bevy

WGSL grammar for tree-sitter with extensions for the Bevy preprocessor (extends tree-sitter-wgsl)

3 releases

0.1.3 Apr 6, 2024
0.1.2 Apr 6, 2024
0.1.1 Apr 1, 2024

#551 in Text editors

Download history 16/week @ 2024-09-23 3/week @ 2024-09-30 1/week @ 2024-10-07 8/week @ 2024-11-18 14/week @ 2024-12-09 20/week @ 2024-12-16 34/week @ 2024-12-30 2/week @ 2025-01-06

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

MIT license

520KB
17K SLoC

C 17K SLoC JavaScript 92 SLoC // 0.2% comments Rust 32 SLoC // 0.1% comments

tree-sitter-wgsl-bevy

CI discord matrix npm crates pypi

This is a extension of tree-sitter-wgsl to support the Bevy preprocessor.

Dependencies

~2.7–4MB
~76K SLoC