3 ms·Exactly. I've used something like this before when writing a lexer and a parser and it was really helpful.by sureglymop 3y agoExactly. I've used something like this before when writing a lexer and a parser and it was really helpful.