DMN 1.0 FTF Avatar
  1. OMG Issue

DMNFTF — FEEL grammar should define precedence of boxed expressions

  • Key: DMNFTF-49
  • Status: closed  
  • Source: Oracle ( Gary Hallmark)
  • Summary:

    It is unclear whether the following is syntactically correct


    or whether the following must be used:


    The intent is that both are correct.

  • Reported: DMN 1.0b1 — Sun, 9 Feb 2014 19:22 GMT
  • Disposition: Resolved — DMN 1.0
  • Disposition Summary:

    Split grammar rule 1 into 1a and 1b and note in the 'Additional Syntax Rules':

    Operator precedence is given by the order of the alternatives in grammar rules 1, 2 and 4. E.g., (boxed) invocation has higher precedence than multiplication, multiplication has higher precedence than addition, and addition has higher precedence than comparison. Addition and subtraction have equal precedence, and like all FEEL infix binary operators, are left associative.

  • Updated: Tue, 21 Apr 2015 01:19 GMT