Refactor ===, ==, =~ and = parsing in lexer.rb