wgsl_reflect icon indicating copy to clipboard operation
wgsl_reflect copied to clipboard

С/C++ version

Open MikhailGorobets opened this issue 2 years ago • 2 comments
trafficstars

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

MikhailGorobets avatar Jun 27 '23 23:06 MikhailGorobets

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.

paulgessinger avatar Jun 28 '23 08:06 paulgessinger

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.

brendan-duncan avatar Jul 02 '23 17:07 brendan-duncan