Code search

From Software Heritage Wiki
Revision as of 08:17, 26 September 2016 by RobertoDiCosmo (talk | contribs)
Jump to navigation Jump to search

Searching through the vast amount of code available in Software Heritage is a real technical and scientific challenge.

Indeed, when browsing code, one would like to go beyond classical full text search, for example via regular expression search or AST search.

Searchcode

Besides search tools included in GitHub or OpenHub, we know of:

Sourcegraph

Performing search using regular expressions has also been explored, see:

  • SourceGraph is an implementation in Go of a regular expression search algorithm
  • CodeSearch is a Debian service that uses Google's code for searching through the Debian sources code base