Hi I want to analyze a codebase. Basically I want to classify all functions, types, classes etc and save them into individual node in a graph. There will be many disjoint directed graphs (due to dependencies and imports) as you can imagine I am doing this manually using AST and analyzing syntax with my own eyes. Is there a better way of doing this? #google #meta #netflix #uber #airbnb #databricks #amazon #microsoft #apple
Look into Compiler IR
Intellij, right click, generate a diagram https://www.jetbrains.com/help/idea/class-diagram.html#analyze_class
I don’t need it for debugging purposes. I need to replicate its implementation. Essentially make a copy of intellij analyzer
Hmm. Depends on the language/(s) involved. Maybe checkout ANTLR as well
India
13h
563
'Hindutva': The Radical Hindu Ideology That Seeks to 'Push Christianity Out of India’
World Conflicts
10h
358
Why I Find Free Palestine Inspiring
World Conflicts
12h
464
Israeli precision-guided munition likely killed group of children playing foosball in Gaza, weapons experts say
AMA
Yesterday
1276
PM Manager, early 40s, married and ENM (Ethical Non Monogamous) AMA
Personal Finance
6h
838
Thank you AAPL and NVDA
Have you tried https://github.com/LegacyCodeHQ/eureka
Pretty cool for Java. I might implement my own after breaking this apart. I have to map out other languages, and relationships amonst all functions, classes