Lexer now correctly creates language definition