Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Tree-sitter is nice, but I would like parsers that make a better effort on invalid inputs. Something like an Early parser that maximizes some quality function. This would be useful for parsing (for example) C and C++ where the preprocessor prevents true parsing of unpreprocessed code. I understand that tree-sitter is intended for interactive use in editors where it can't spend too much time parsing.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: