top | item 45749012 (no title) housel | 4 months ago "clang -Xclang -ast-dump=json" will take you partway there. discuss order hn newest frumiousirc|4 months ago The issue is to make sense of the incredibly detailed AST to answer various questions about the code base. For example, how to make an information flow graph that shows what functions read and write what variables in a set of C++ classes. HarHarVeryFunny|4 months ago This sounds like it might be a good use case for one of the LLM coding tools.A pure AST wouldn't even have that information - it'd have the syntax, but not the semantics. load replies (1)
frumiousirc|4 months ago The issue is to make sense of the incredibly detailed AST to answer various questions about the code base. For example, how to make an information flow graph that shows what functions read and write what variables in a set of C++ classes. HarHarVeryFunny|4 months ago This sounds like it might be a good use case for one of the LLM coding tools.A pure AST wouldn't even have that information - it'd have the syntax, but not the semantics. load replies (1)
HarHarVeryFunny|4 months ago This sounds like it might be a good use case for one of the LLM coding tools.A pure AST wouldn't even have that information - it'd have the syntax, but not the semantics. load replies (1)
frumiousirc|4 months ago
HarHarVeryFunny|4 months ago
A pure AST wouldn't even have that information - it'd have the syntax, but not the semantics.