3 ms·
I love your gradual approach pretty much. It sounds like gradual typing but not just the typing part. I used to make many tools with libclang Python bindings t
by anqurvanillapy 2y ago
I love your gradual approach pretty much. It sounds like gradual typing but not just the typing part.
I used to make many tools with libclang Python bindings to automate some chores of refactoring. I don't remember if one could expand the macros using it, and I was told that lexer and preprocessor are messed together in Clang. So it should be quite hard to extend the existing framework.
I would definitely go into this direction, but for now it just looks like some final boss, let me finish some early quests.
- sparkie 2y agoI'd recommend using goblint (https://github.com/goblint https://github.com/goblint) as a starting point, rather than Clang.