Comment by affyboi

4 years ago

I would recommend using tree-sitter, it's probably easier not to reinvent the wheel, especially when parsing something like C++. It's also really fast

Thanks, definitely planning to look at it. Would really love to implement the semantic metadata extraction once in C/Rust and then have support for a bunch of different languages.

It is especially exciting that they aim to provide useful information even in the presence of syntax errors.