This repository contains a Tree-sitter grammar for the WebGPU Shading Language (WGSL).
Since the repository is a minimal mirror of grammar produced by the upstream specification, it does not contain auto-generated build files. To use the grammar, it is necessary to generate the build files using:
# npm install -g [email protected]
tree-sitter init --update
tree-sitter generate
# tree-sitter init-config
# tree-sitter build