camunda / feel-scala

FEEL parser and interpreter written in Scala
https://camunda.github.io/feel-scala/
Apache License 2.0
124 stars 51 forks source link

New data type range #293

Open saig0 opened 3 years ago

saig0 commented 3 years ago

Is your feature request related to a problem? Please describe.

image

image

image

Describe the solution you'd like Support ranges as new data types as described in the specs.

Related issues

saig0 commented 2 years ago

The feature is partially implemented. The engine contains a range type but it is limited to function parameters or to comparison.

Currently, we can't access the properties of a range. So, we need to expose the properties and modify the parser to allow using a range in a path expression.

More examples can be found in the TCK here.