FalkorDB / code-graph

https://code-graph.falkordb.com
MIT License
42 stars 9 forks source link

Does code-graph only support Python? #136

Open Emma-Miao opened 1 month ago

Emma-Miao commented 1 month ago

I can see there is only python.ts under language directory.

luciob commented 2 weeks ago

Hello, bumping this topic, asking about TypeScript support. It's true there's only language/python.ts file but I've seen that there are tree-sitter binary files for 5 different languages (TS is there).

I've tried to extend the set of available languages using the language.ts interface provided and using the queries file located here: https://github.com/tree-sitter/tree-sitter-typescript/tree/master/queries. I'm not grammar expert but looks like this road is not the correct one.

Can you provide some examples on how this project can be extended? Thank you

CC: @masmau

gkorland commented 2 weeks ago

@Emma-Miao @luciob, we're working on a new version with support to more programming languages. We plan to release the first beta in a couple of weeks, can you please share which programming languages support are you looking for?

luciob commented 2 weeks ago

@Emma-Miao @luciob, we're working on a new version with support to more programming languages. We plan to release the first beta in a couple of weeks, can you please share which programming languages support are you looking for?

Hi @gkorland, in the short term the focus would be on modern languages like TypeScript and JavaScript. In the long term we might look for support of other languages like PL/SQL, ABAP and Java. Thank you

gkorland commented 2 weeks ago

@luciob thanks, JavaScript, Java (and C/C++) are defiantly on our short list for the next release.