about summary refs log tree commit diff
path: root/users/fcuny (unfollow)
<
Commit message (Collapse)AuthorFilesLines
2020-01-11lexer: support tokens for equal and not equal.franck cuny2-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.