WGSL has changed significantly since its inception, and syntax definitions in vscode-wgsl became quite messy because of that, there are a lot of new cases that were not initially taken into account (good example of this would be #4)
JSON turned out to not be the best choice IMO, I would rather use YAML and compile it to JSON on every publish
Rewriting the whole thing from the ground up with current WGSL specs in mind will yield a lot cleaner result.
WGSL
has changed significantly since its inception, and syntax definitions invscode-wgsl
became quite messy because of that, there are a lot of new cases that were not initially taken into account (good example of this would be #4)JSON
turned out to not be the best choice IMO, I would rather useYAML
and compile it toJSON
on every publishWGSL
specs in mind will yield a lot cleaner result.