DIP42 - Add enum E(T) = expression; eponymous template support

Jonathan M Davis jmdavisProg at gmx.com
Tue Jun 25 16:13:53 PDT 2013


On Wednesday, June 26, 2013 01:09:26 Brian Schott wrote:
> On Tuesday, 25 June 2013 at 21:31:15 UTC, Walter Bright wrote:
> > http://wiki.dlang.org/DIP42
> 
> The proposal doesn't include suggested changes to the language
> grammar specification.
> 
> On the other hand, neither did user defined attributes or the
> syntax for passing messages to "deprecated" statements, so
> there's certainly precedent for doing this.

Not that it's a bad idea to show how a proposed change would affect the 
grammar, but I'm not aware of _any_ proposed language change where the effects 
on the grammar were ever shown. I'm not sure that they've ever really even 
been discussed as part of assessing possible language changes. If they were, 
it was merely to show that the proposal was ambiguous rather than to try and 
discuss how the grammar should be changed in order to add the proposed 
feature.

- Jonathan M Davis


More information about the Digitalmars-d mailing list