Code search

From Software Heritage Wiki
Revision as of 08:17, 26 September 2016 by RobertoDiCosmo (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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