Open MikhailGorobets opened 1 year ago
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.
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