Open AndreVanDelft opened 7 years ago
Related to #28. Indeed, we need a way to explicitly say where we want to place the parentheses. I am very reluctant to introduce custom parsers as we did in SubScript, since the learning curve increases and the attractiveness for the users decreases as a result.
We could propose to the Dotty team that their parse tree contains the parentheses, if it doesn't already do so. Then a macro could do the work for us, I think.
Special elements
...
,break
andbreak?
are useful to have, but they mess up axioms and properties.E.g.
This does not hold for
x
ory
being such a special element.This should not hold if
x
,y
orz
is...
. Or maybe it should, and is the problem that we need an alternative for the parentheses (Call(...)
?), as long as we are sticking to Scala syntax. BTWx*y*z
should be yet another thing.