drake 0.2.0

A tree-sitter based codebase dependency explorer
Documentation

Drake

A tree-sitter based codebase dependency explorer.

About

Drake (as in Sir Francis) is a static analysis tool to map and search dependencies in a codebase by finding declarations and references and building a graph.

Drake currently support Swift, but it is based on tree-sitter, and may support other languages in the future.

Usage

As CLI

Drake can be installed with cargo install.

In the current version it supports two tasks

  • drake deps [PATH] <TYPE_NAME> recursively lists all the types TYPE_NAME depends on.
  • drake print [PATH] prints the declarations and references in each file.

As a library

Reasonable API and Cargo docs coming soon.

License

Drake is licensed under the MIT license. See LICENSE for more.