Reputation: 63
I'd like to be able to generate Code Property Graphs (CPG) from a Java codebase. I am new to Rascal MPL but from what I understand this is a good use case for it. Not been able to find any material around this specifically, would appreciate some guidance on this.
Also, I'd like to export the graph and run queries on the graph using something like Neo4J or TinkerPop
Upvotes: 0
Views: 6
Reputation: 15439
In rascal this is called m3, for java you can read about it here: https://www.rascal-mpl.org/docs/Library/lang/java/m3/Core/
Since rascal has powerfull pattern matching and relational algebra, you can most likely write your queries in rascal itself, no need for external tools.
See some examples here:
Upvotes: 0