Short list with things to finish for D2

Walter Bright newshound1 at digitalmars.com
Thu Nov 19 16:00:25 PST 2009


Adam D. Ruppe wrote:
> What if there was some magic defined at the top of the file or something, that
> could be pulled out without parsing the whole thing?
> 
> pragma(DEFINE_BINARY_OPERATOR, "^^");
> 
> Then, later in that module, and any that import it, you'd treat the ^^ as
> a user defined operator token.

Still mixing up lexing, parsing, and semantic analysis.

I know it's tempting, but it only leads to madness.



More information about the Digitalmars-d mailing list