I wrote a C/C++ FFI wrapper around the wit-bindgen
parser interface. It enables you parse a WIT spec directly from C/C++ code and then examine parts of the AST. Perhaps someone around here will find it useful as well.
https://github.com/singlestore-labs/to-wit
Last updated: Dec 23 2024 at 12:05 UTC