logoalt Hacker News

Evaluation order and nontermination in query languages

26 pointsby luulast Thursday at 7:08 AM2 commentsview on HN

Comments

veqqtoday at 12:10 AM

https://codeberg.org/veqq/declarative-dsls is built around a query language working on tables/dataframes, hashmaps, arrays, strings etc. in the same way. I ended up allowing things like :where :group-by etc. in `select` go in any order and then allowing you to use ->> macros to micromanage the execution order.

_alternator_today at 1:15 AM

A quick skim of the article suggests it's a study of the implications of allowing query planning in programs which are notionally finite but may have unbounded computation. Interesting.