Building Semantic Code Graphs with Tree-sitter | Neo4j

Summary

This discussion in the Neo4j community focuses on the technical implementation of building semantic code graphs for AI-powered software comprehension. Developers are exploring a structured approach using Tree-sitter to parse repositories into ASTs before constructing semantic layers. This topic highlights the growing interest in leveraging graph technology to enhance code analysis and software understanding.

This post is part of Neo4j Knowledge Graphs news Implementations ongoing · latest news Nov 11 · from posts in Discord communities
See the latest →
royaldolphin-53 OP

Hey guys! Anudeep this side. I'm working on building code graphs helping any AI powered software comprehension tasks. Excited and interested to learn more from the community

happybeacon-37

Hi Anudeep! welcome to our Discord. do you use AI to read the code and extra the graph? or just more structured appraoch

happybeacon-37

i remember we were asking about building knowledge graph from github before?

happybeacon-37

feels like this is pretty relevant for Breakdown?

snowyyonder-49

I working on it already a en so far it’s great

royaldolphin-53 OP

Hey , I’m following a more structured approach. Using tree sitter to parse the repo first into an AST, then building a semantic code graph out of it. Was going through a few research papers, right now am on the latter part!

@royaldolphin-53 Hey , I’m following a more structured approach. Using tree sitter to parse the repo first into an A…
happybeacon-37

interesting, how do you link the semantic layer back to the AST nodes? what paper are you reading btw

@snowyyonder-49 I working on it already a en so far it’s great
happybeacon-37

nice! would love to see it when you’re ready, even a screenshot of the graph. is going the tree-sitter route, curious if you two landed on similar node types

The latest from Neo4j