Glean is a system for working with facts about source code. You can use it for:
-
Collecting and storing detailed information about code structure. Glean is designed around an efficient storage model that enables storing information about code at scale.
-
Querying information about code, to power tools and experiences from online IDE features to offline code analysis.
Glean is pre-release software. There are many rough edges; there are only two language indexers available initially (JavaScript and Hack); the build system is not as smooth as we would like. However, we want to make it available for you to experiment with and contribute to.
We'd love to hear feedback! If you run into problems or have suggestions please file an issue.
There is currently support for:
Indexers for these languages exist but aren't in the open source release yet; we hope to make these available in the future:
- Python
- C++
- Objective-C
- Java
- Rust
Glean is licensed under a BSD LICENSE.
We'd love to have your help developing Glean. Please submit pull requests on github, and note that we need contributors to sign the Contributor license agreement before we can accept your pull request.
See Building Glean.