Jim Lewis writes:
> I have received a proposals to change the syntax of FT10A.
Great!
> Alternative 2: Use parens to surround the condition:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ copy & paste?
> nnary_expression ::=
> {logical if condition else } logical
Most nnary (or nested ternary) expressions are painful to read. This
solution seems to be a reasonable compromise.
BTW: What would be the priority of this kind of operator?
For instance, is
Y <= A if B else C and D;
equivalent to
Y <= A if B else (C and D);
or
Y <= (A if B else C) and D;
?
Best regards,
Marcus
Received on Wed Sep 22 11:57:26 2004
This archive was generated by hypermail 2.1.8 : Wed Sep 22 2004 - 11:57:43 PDT