Is it a lexer\'s job to parse numbers and strings?
This may or may not sound dumb, given that fact that I\'m asking whether a lexer should parse in
A lexer essentially identifies TOKENs from the input. In this case, the lexer will possibly "match" the number as a float number TOKEN. The parser essentially processes tokens and does syntax analysis