You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'll have to look at it again but I recall it not producing anything particularly easy to work with... I'll have to check the JSON output.
Note there's more than simple AST that's very commonly useful... notably constant evaluation/values and the #define hack c2ffi does, which can pull useful values from things like #define SOME_SIZE sizeof(Foo)+1 or the like.
If clang-ast does this it might be pretty ideal, but I haven't checked in awhile.
apparently there's something called clang ast-dump, that can dump the AST in json format (as mentioned at libsdl-org/SDL#6337 (comment)).
it would be nice if the readme clarified how c2ffi relates to clang ast-dump, and what justifies the creation of a custom tool.
The text was updated successfully, but these errors were encountered: