clarity20 / tql

Terse Query Language
1 stars 0 forks source link

Update the processing of parsed strings in light of changes to parser #5

Closed clarity20 closed 5 years ago

clarity20 commented 5 years ago

Since we last updated the processing of parsed strings in db_functions, the parser has changed in 2 significant ways:

  1. We added token counters to tokens occurring within NCV expressions
  2. We're using new tokens for NCV delimitation

We'd also like to store an NCV's overall token count into its terminator token. (Currently a redundant copy of the NCV number is stored there.)

The parsed-string handlers in place for SELECT and WHERE clauses need to understand the new parser syntax.

clarity20 commented 5 years ago

Commit # 35bfc61 stores an NCV's token count in the terminator.

clarity20 commented 5 years ago

Commit # e3b72fa updates the SELECT handler for the token-counting feature in the markup. Commit # 1d79154 updates the WHERE handler similarly.