Edward Langley e67f4d5a92 fix(formula): break tokenizer identifiers when current word is a keyword
The tokenizer already broke multi-word identifiers when the NEXT word
was a keyword, but not when the identifier collected SO FAR was a
keyword. This meant "WHERE Region" was merged into one token when
tokenizing "SUM(Revenue WHERE Region = East)".

Now the tokenizer also checks if the identifier built up to the current
space IS a keyword (WHERE, SUM, AVG, MIN, MAX, COUNT, IF), which
correctly produces separate tokens for "Revenue", "WHERE", "Region".

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-11 00:06:51 -07:00
2026-04-02 16:21:45 -07:00
2026-04-11 00:06:38 -07:00
2026-04-11 00:06:49 -07:00
2026-04-02 11:34:22 -07:00
Description
No description provided
Apache-2.0 2.5 MiB
Languages
Rust 98.1%
Python 1.1%
Shell 0.6%
Nix 0.2%