logoalt Hacker News

remexretoday at 2:32 AM0 repliesview on HN

https://en.wikipedia.org/wiki/Lexer_hack

Make your parser call back into your lexer, so it can pass state to it; make the set of type names available to it.