Skip to content

[WIP] Feature/conditionals

Dominic Kempf requested to merge feature/conditionals into master

This is the branch that implements the conditional expressions we have been discussing in Stuttgart.

I am still excited about how easy the implementation turned out to be.

There are some open problems:

  • Currently '=' needs to be escaped in the boolean expression, which sucks.
  • Are integers ints or strings for the purpose of writing expressions? Is it feasible to allow both for convenience?

As part of the implementation of above problems, the following tasks came up:

  • Do all expression splitting in a preprocessing step, where the commands get registered. Apply commands by iterating through that registry instead of iterating through the data all over.
  • Introduce two priority groups of escape characters.

This fixes #3 (closed).

Merge request reports

Loading