Skip to content

Comment on Srclib: A polyglot code analysis library

Comments

IIRC IntelliJ does some things like this:

1. It's a polyglot IDE and open-source.

2. Specialized tools for exporting to multiple languages/DSLs.

I wasn't able to find the source code for some of IntelliJ's dynamic language support, like Python and Ruby. If it is indeed open source, I would love to check it out.

IntelliJ is awesome. We're just trying to make something that isn't coupled to a specific editor and is super non-monolithic. Our goal is for you to be able to run a single command ("src") in a directory, or have your editor plugin (or other kind of tool) invoke something like "src api describe --file FILE --start-byte N", to tap into a fully analyzed database of the source code in a package.

That's a potentially very useful project, thanks so much for working on this!

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.