Qute: support boolean/ternary expressions everywhere #13106
Description
ATM it appears that boolean expressions and comparison operators are only available in #if
tags. I tried using them in the {bool ? expr1 : expr2}
ternary and they didn't appear to work.
If it's at all possible with the internals, we should make sure that every expression passed to a any tag is evaluated with the same grammar, like in programming languages we have statements and expressions, and every expression can occur in every context.
The way this is usually done is by having an evaluate/parseExpression(Expression)
which then switches/delegates to the next operator precedence, say evaluate/parseParenthesis(ParenExpression)
or evaluate/parseComparison(ComparisonExpression)
until we get to the bottom of the expression.
And then every tag would use the same expresion evaluation, with different scopes naturally.