Mixin demo: associative array initializers (with support for comments)
Walter Bright
newshound at digitalmars.com
Sun Feb 11 23:36:22 PST 2007
Reiner Pope wrote:
> However, although it looks pretty horrible, it's a *much* easier job
> than having to parse the whole thing -- all it needs to do is read
> through and ignore comments and things inside quotes, and DMD will
> actually format it all correctly.
This is pretty cool that you were able to figure out a way to do this.
My job is to find a way that you can do such things without it looking
horrible <g>.
More information about the Digitalmars-d
mailing list