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: Nov 22 2024 at 17:03 UTC