simonmar / Glean

System for collecting, deriving and working with facts about source code.

Home Page:https://glean.software/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ci demo

Glean

Glean home | Documentation

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.

Status

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.

Language coverage

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

License

Glean is licensed under a BSD LICENSE.

Contributing

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.

Building

See Building Glean.

Docker demo

For demo of the react codebase with hyperlinks powered by glean run docker run -ti -p8888:8888 ghcr.io/facebookincubator/glean/demo

Try out on your own codebase with a .flowconfig by running docker run -ti -p8888:8888 -v __YOUR_CODE_DIR__:/glean_demo/code ghcr.io/facebookincubator/glean/demo

Play round using the glean binaries in a shell by running docker run -ti -p8888:8888 ghcr.io/facebookincubator/glean/demo shell

About

System for collecting, deriving and working with facts about source code.

https://glean.software/

License:Other


Languages

Language:Haskell 71.1%Language:C++ 23.9%Language:Thrift 1.8%Language:Yacc 0.5%Language:Python 0.4%Language:Objective-C 0.4%Language:JavaScript 0.4%Language:C 0.4%Language:Perl 0.3%Language:Lex 0.2%Language:Makefile 0.1%Language:Shell 0.1%Language:Dockerfile 0.1%Language:CSS 0.1%Language:Objective-C++ 0.1%