Am I evil for this?

Walter Bright newshound2 at digitalmars.com
Sat Oct 15 06:59:15 UTC 2022


On 10/14/2022 6:11 PM, rassoc wrote:
> Raku (formerly Perl 6) is very interesting in that regard. They not only allow 
> you to define custom operators, but also specify their precedence and 
> associativity right in the function signature.

Doing that means the code cannot be successfully parsed without semantic 
analysis. One goal of D was to be able to keep the lexing, parsing, and semantic 
analysis as distinct passes.



More information about the Digitalmars-d mailing list