Code search
Revision as of 08:17, 26 September 2016 by RobertoDiCosmo (talk | contribs)
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:
- http://www.boyter.org/category/searchcode/ and https://searchcode.com/ provide full text code search over more than 20Billions lines of code, last work in October 2015, done by Ben E. Boyter in Sidney as a side project.
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