DIP 50 - AST macros
Wyatt
wyatt.epp at gmail.com
Tue Nov 12 05:21:57 PST 2013
On Tuesday, 12 November 2013 at 09:20:07 UTC, Walter Bright wrote:
>
> 5. We've said "no" in the past to things like user-defined
> tokens, which are closely related.
>
Regarding this point, I get that arbitrary expansion is out, but
would you be amenable to adding a small, _strictly-defined_ set
of operators that are compile-time errors unless overloaded?
> #define BEGIN {
> #define END }
>
> macros used in old C code to make it look like Pascal.
A plague o' their houses!
-Wyatt
More information about the Digitalmars-d
mailing list