Re:Show HN: An experimental code search engine
by azeirah on Friday November 30, 2018 @07:14AM
(#18568524)
Take a look at tree-sitter, it's a parser written for the Atom editor, it supports 20+ languages, and is super fast, as it was written to parse in under 1/60th of a second (parse on keypress, should be done before the screen refreshes)
https://github.com/tree-sitter
It has bindings for node, ruby, rust and haskell