Hacker News new | ask | show | jobs
by gavinhoward 1143 days ago
If you don't think you're missing out, you're not. I think it could be preference.

I just prefer for a lexer to be responsible for handling characters, and a parser be responsible for handling tokens. So Single Responsibility Principle.