Replace hardcoded operator lexing with table-driven code.