Simplified lexer interface