codegrep uses various parsers to tokenize source code files and stores the results in an elasticsearch cluster. This allows us to perform structured searches - for example - in current implementation, you can restrict searches to identifiers. (there by not matching comments etc)
- Oracle JDK 1.8
- Elasticsearch
- sbt
- elm
- clang
- go
- Elasticsearch
- Java
Run elasticsearch:
./bin/elasticsearch
Instructions to compile clang-dump and golang-dump
sbt run
cd frontend-dev
elm-make --output public/dist/bundle.js Main.elm
open http://localhost:9000
http://clang.llvm.org/docs/IntroductionToTheClangAST.html
https://golang.org/pkg/go/parser/