Re:The Bugs We Have to Kill [pdf]
by TheLoneWolfling on Sunday August 16, 2015 @11:53AM
(#10069202)
Hence: languages with a lexer pass followed by a parser pass.
[ Parent
| on HN ]
I was mostly talking about the semantic analysis pass after the parser pass. Type checking, name binding, etc.
You are correct that the lexer pass allows you to expand a language despite the use of a context-free grammar in the parser. Significant whitespace lexed as indent/dedent tokens is a common example.