facebookincubator / Glean

System for collecting, deriving and working with facts about source code.
https://glean.software/
Other
932 stars 43 forks source link

New programming languages #420

Closed giovannism20 closed 6 months ago

giovannism20 commented 9 months ago

Exist any map or checklist for adding support for new programming languages ? Example: I want to test it for Ruby and I would be interested in adding support.

phlalx commented 9 months ago

Hi Giovanni, I'm not aware of any checklist besides the documentation https://glean.software/docs/introduction/. The steps would be to create a schema for the language you want to add, then write an indexer that produces json facts which conform to this schema (you can start with an existing compiler front-end and instrument it so it generates facts).

donsbot commented 6 months ago

Supported languages are in https://github.com/facebookincubator/Glean?tab=readme-ov-file#language-coverage . We are not currently working on Ruby support. Go ahead and add it!