clarity20 / tql

Terse Query Language
1 stars 0 forks source link

Clean up the parser's handling of (quasi-)numeric tokens #7

Closed clarity20 closed 5 years ago

clarity20 commented 5 years ago

Consolidate the code snippets where streamToken() is called 2-3 times in succession, using one function call with a sequence of tokens to be streamed.

A likely bug setting oldInputStream=$inputStream is pointed out in a code comment. Investigate/debug this.

In general, comb the quasi-numeric token handler for miscellaneous bugs.

clarity20 commented 5 years ago

Commits # 160b11a and # 008c765 perform the consolidation. The "likely bug" was verified to be correct as-is. Further validation of quasi-numeric token processing will be performed when attention returns to quasi-numeric tokens.

clarity20 commented 5 years ago

With recent progress on issue #46, validation has caught up with coding activity in the numeric part of the parser. Hence, this issue no longer has any unique, outstanding subtasks.