Am I evil for this?

Walter Bright newshound2 at digitalmars.com
Thu Oct 27 01:06:07 UTC 2022


On 10/16/2022 12:53 PM, Timon Gehr wrote:
> You can parse everything except operator precedence, no need to store a token 
> stream.

Well, an array of terms.

Given a*b*c, is that (a*b)*c or a*(b*c)?

You'd have to wait for semantics to not only know precedence, but left and right 
associativity.

I can see how that's possible, but don't like it.




More information about the Digitalmars-d mailing list