logoalt Hacker News

another_twisttoday at 3:28 AM0 repliesview on HN

Quite right. But antlr is better for query parsing. They also have error listeners so error handling can be added.