Converted lexer to coffee script.