GeezerVison is showing github.com — Add other languages · Issue #7 · codeque-co/codeque
DescriptionHi please add other languages like C,C++,Dart,Python Reacted by Shayan Davoodi and Michael Engelhard Activityjayu commented on Jan 4, 2023 Definitely CodeQue will support more languages in future. It's not that straight forward to add support for new languages, but I will work on that in future :) Reacted by Hossein Hosseini and Shayan Davoodi NeoHosseinism commented on Jan 4, 2023 Thank you very much.
I am very happy to hear this. Reacted by Hossein Hosseini jayu commented on Jan 5, 2023 I will actually reopen that issue, maybe others would be eager to comment or list languages that should be supported x-xyzxyz commented on Jan 9, 2023 php, html and html-based languages would be fantastic and super useful! <3 Reacted by Jakub Mazurek, Muah and Thijn de Haas ShayanDavoodii commented on Jan 30, 2023 Supporting Python and Julia would be so helpful. ChristopherHaws commented on Feb 23, 2023 C# and Razor would be fantastic :)
I think before that though, the main config markup languages would probably be the most helpful (yaml, xml, etc) jayu commented on Feb 27, 2023 I'm working on PoC support for HTML and CSS, it looks promising :D Reacted by Alessandro Benassi and Zoé de Moffarts Reacted by Alessandro Benassi ELLIOTTCABLE commented on Apr 11, 2023 Ours would be OCaml / ReasonML / Melange, but I suspect that's going to be low priority. :P
Looks super-cool, wish I could use it outside plain-TypeScript projects in 2023. )=
Supporting languages one-by-one seems like something of a nonstarter; have you considered using something like treesitter or Semgrep as a 'backend', something that will make adding (at least basic support) for other languages' ASTs a little easier? carlosdelivery commented on Apr 24, 2023 jayu commented on Aug 20, 2023 Hello everyone!
I'm happy to announce that in recent months I worked integrating several new parsers for CodeQue.
CodeQue core is now parser agnostic and basically any parser producing AST in JSON format can be integrated with the tool.
I've also invested time into deep dive in tree-sitter API and as a result I've build foundations for integrating any tree-sitter parser via WebAssembly.
Tree sitter parser is surprisingly slower comparing to Babel, but after some strange optimizations on JS side that I had to make, it's fast enough to serve for CodeQue search.
Big thanks for @ELLIOTTCABLE and @sschneider-ihre-pvs for suggesting using tree-sitter.
In recent months I've released support for:
It's worth mentioning that adding basic Lua support via tree sitter took ~4h, which is relatively small amount of time.
I will now close this issue and open a new one for each programming language that was mentioned in this thread. Reacted by x x and Chris Haws
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|