3 ms·
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
by lifthrasiir 3y 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.)