Exafunction / codeium-parse

A command line tool for parsing code syntax
MIT License
94 stars 4 forks source link

Support for the Ada language #7

Closed elkarouh closed 1 year ago

elkarouh commented 1 year ago

Hi,

Is it possible to add support for the Ada language https://github.com/briot/tree-sitter-ada

pqn commented 1 year ago

Feel free to run ./download_parse.sh again and try it out!

elkarouh commented 1 year ago

I get the following error message I0310 06:52:48.000367 8096 main.go:119] Unspecified language received enry language Ada W0310 06:52:48.000448 8096 main.go:124] Unable to resolve enry language Ada W0310 06:52:48.000464 8096 main.go:191] unsupported language: LANGUAGE_UNSPECIFIED

pqn commented 1 year ago

I get the following error message I0310 06:52:48.000367 8096 main.go:119] Unspecified language received enry language Ada W0310 06:52:48.000448 8096 main.go:124] Unable to resolve enry language Ada W0310 06:52:48.000464 8096 main.go:191] unsupported language: LANGUAGE_UNSPECIFIED

Auto-detection might not work with your file, but you can try to force a certain language with something like -language ada.

pqn commented 1 year ago

Oh I misread your error message, let me push a fix for this actually.

pqn commented 1 year ago

Feel free to try again with the latest (0.0.5).

elkarouh commented 1 year ago

It works. Many thanks.

I will start experimenting and possibly report problems. Great stuff !