Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2020-01-11 | lexer: support tokens for equal and not equal. | franck cuny | 2 | -2/+39 | |
The tokens for equal (`==`) and not equal (`!=`) are composed of two characters. We introduce a new helper (`peekChar`) that we use when we encounter the token `=` or `!` to see if this is a token composed of two characters. Add some tests to ensure they are parsed correctly. | |||||
2020-01-11 |