Skip to content

Source code is a graph, so why wouldn't we store it in Dgraph?

License

Notifications You must be signed in to change notification settings

campoy/code-as-graphs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code as Graphs

If you think about it, a piece of code can be parsed into a syntax tree. Now think about relations like "uses", "defined by", etc. Those relationships connect elements of the syntax tree in new ways eventually creating cycles.

What do you have? A graph!

In this repository I want to create a parser that stores the result of its parsing into a Graph Database (Dgraph.

This is an experiment for a talk, so it will probably not be maintained for long.

About

Source code is a graph, so why wouldn't we store it in Dgraph?

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages