obi1kenobi / trustfall

A query engine for any combination of data sources. Query your files and APIs as if they were databases!
Apache License 2.0
2.37k stars 69 forks source link

Refactor IR to allow transformed values on the LHS of filter operations. #622

Closed obi1kenobi closed 3 months ago

obi1kenobi commented 3 months ago

After this PR, the IR in principle supports constructs like my_list @transform(op: "length") @filter(op: "=", value: ["$zero"]).

We still need to update the parser, frontend, and interpreter execution to allow those as well.