Skip to content

wgsl-tooling-wg/tree-sitter-wesl

 
 

Repository files navigation

tree-sitter-wesl

This repository contains a tree-sitter grammar for the WebGPU Shading Language (WGSL) with support for WESL extensions, as well as best-effort support for Bevy (naga_oil) extensions and C-style preprocessors.

See Also

Contributing

Contributions are welcome. Please join the discord server and introduce yourself first, or contact via email.

License

Except where noted (below and/or in individual files), all code in this repository is dual-licensed under either:

at your option.

Exceptions:

Your contributions

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About

tree-sitter for WGSL and WESL

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 69.8%
  • JavaScript 23.2%
  • Scheme 7.0%