Hacker News new | ask | show | jobs
by lifthrasiir 1014 days ago
It is not as silly as it sounds. Many programming language implementations allow a partial parser that looks similar to this in order to give better diagnostics even when the AST is incomplete. (I did the same in the past, for example.)