Write an informal survey/overview for the Kythe schema


The current schema document is primarily a reference manual for the naming conventions, facts, and edges defined by the Kythe graph. For authors of new indexers, it would be helpful to have an informal survey/orientation document for the schema. Some topics I think would be useful to gather together include:

  • Naming conventions (tickets and VNames, how to ensure uniqueness using examples like files, anchors, built-in types).
  • How Kythe maps a graph of nodes and edges to entry tuples (node = facts, edge = nodes + label).
  • A high-level tour of some of the common graph structures: File info, definition/usage cross-reference, call-graph, maybe a simple type structure.

It's an open question whether this should be part of the existing schema, or a separate document. The reference component of the schema should remain the source of truth, but an informal survey would I think help people figure out which pieces of the schema they need to care about—and why.

fromberger created this task.Via WebMay 24 2016, 10:17 AM
fromberger added a project: Schema.
fromberger added a subscriber: fromberger.
fromberger added a comment.Via WebMay 24 2016, 10:42 AM

Luke's blog posts from last year are probably a good source of input here, too: Indexing JavaScript with Flow and Part 2 of the same. Some of the info in those posts may be slightly stale, but I think the essentials are still true.

schroederc triaged this task as "High" priority.Via WebMay 24 2016, 10:47 AM
salguarnieri added a subscriber: salguarnieri.Via WebMay 24 2016, 10:57 AM
shahms assigned this task to zarko.Via WebWed, Jun 13, 9:33 AM
shahms added a subscriber: shahms.

Bulk reassignment prior to migration, feel free to give to someone else.

shahms placed this task up for grabs.Via WebWed, Jun 13, 12:21 PM
shahms added a subscriber: zarko.

Add Comment