clarity20 / tql

Terse Query Language
1 stars 0 forks source link

Smart Expander II: Discover the set of all possible interpretations of the user input and build an iteration skeleton for them. #9

Closed clarity20 closed 5 years ago

clarity20 commented 5 years ago

This will get us a long way toward grammar-checking the interpretations in order to rule out the illegal ones. That will automate the interpretation process about as much as we can expect to, and when user prompting is still needed, will make the completion suggestions more intelligent.

clarity20 commented 5 years ago

Checkin # 2402d72 walks the expression to store the lists of possibilities at each node and runs a combinatorial loop to iterate over the combinations of choices node-for-node. The natural next step will be to implement a grammar check of a single combination inside the loop.