brendan-duncan / wgsl_reflect

A WebGPU Shading Language parser and reflection library for Javascript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

С/C++ version

MikhailGorobets opened this issue · comments

Are there any plans to create a C/C++ version of the library?
That way we can parse WGSL for native WebGPU(Dawn/WGPU), as well as for Wasm

I built something similar for C++: https://github.com/paulgessinger/wgsl-reflect/
It's based on tree-sitter, and is not as full-featured as this library.

Sorry, I don't have any time these days to do a C++ version. There is always the Tint library, though it's quite heavy.