Tuesday, May 17, 2011

TIL lexer != parser

TIL that a lexer doesn't do grammars and solves my white space in grammar problem. The problem was that I had to surround everything with a WS+ symbol in my grammars which stemmed from me integrating both a lexer & parser in one single grammar.