Thread overview | |||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
April 11, 2007 DMD 1.011 release | ||||
---|---|---|---|---|
| ||||
Bug fixes, some enhancements. http://www.digitalmars.com/d/changelog.html http://ftp.digitalmars.com/dmd.1.011.zip |
April 11, 2007 Re: DMD 1.011 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright wrote: > Bug fixes, some enhancements. > > http://www.digitalmars.com/d/changelog.html > > http://ftp.digitalmars.com/dmd.1.011.zip From the changelog: * final for variables now works. What does this do? I didn't see anything in an obvious place in the spec explaining it. Also, I have updated the keyword index: http://www.prowiki.org/wiki4d/wiki.cgi?LanguageSpecification/KeywordIndex -- Kirk McDonald http://kirkmcdonald.blogspot.com Pyd: Connecting D and Python http://pyd.dsource.org |
April 11, 2007 Re: DMD 1.011 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kirk McDonald | Kirk McDonald wrote: > From the changelog: > > * final for variables now works. > > What does this do? I didn't see anything in an obvious place in the spec explaining it. It's the first part of the final/const/invariant thing. No documentation is written on it yet. All final is is that if you declare a variable as final, you can only initialize it. It cannot be reassigned. > Also, I have updated the keyword index: > http://www.prowiki.org/wiki4d/wiki.cgi?LanguageSpecification/KeywordIndex Thank-you. |
April 11, 2007 Re: DMD 1.011 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright wrote
> some enhancements.
I believe that "macro" is the wrong wording for the intended semantics of manipulating ASTs.
D supporters might get into serious argumentative troubles when negating the usefullness of C macros on one side and OTOH have to hail AST manipulators which irritatingly have the same name: "macro".
Please choose "ast" or any other word that does not remind of mere textual exchanges.
-manfred
|
April 11, 2007 Re: DMD 1.011 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright |
Walter Bright wrote:
> Bug fixes, some enhancements.
>
> http://www.digitalmars.com/d/changelog.html
>
> http://ftp.digitalmars.com/dmd.1.011.zip
Hmm .. nice
ref is better than inout ..
um,
What is the macro keyword for?
Where is it documented? If at all?
gj, as always
|
April 11, 2007 Re: DMD 1.011 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright wrote:
> Kirk McDonald wrote:
>> From the changelog:
>>
>> * final for variables now works.
>>
>> What does this do? I didn't see anything in an obvious place in the spec explaining it.
>
> It's the first part of the final/const/invariant thing. No documentation is written on it yet. All final is is that if you declare a variable as final, you can only initialize it. It cannot be reassigned.
Is that like what "const" does, at the moment?
L.
|
April 11, 2007 Re: DMD 1.011 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Thanks! (I'll keep repeating it)
Walter Bright escribió:
> Bug fixes, some enhancements.
>
> http://www.digitalmars.com/d/changelog.html
>
> http://ftp.digitalmars.com/dmd.1.011.zip
|
April 11, 2007 Re: DMD 1.011 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Manfred Nowak | "Manfred Nowak" <svv1999@hotmail.com> wrote in message news:eviatg$7r5$1@digitalmars.com... > Walter Bright wrote > >> some enhancements. > > I believe that "macro" is the wrong wording for the intended semantics of manipulating ASTs. > > D supporters might get into serious argumentative troubles when negating the usefullness of C macros on one side and OTOH have to hail AST manipulators which irritatingly have the same name: "macro". ..but then you have Lisp programmers who will feel right at home calling it 'macro,' which is, I guess, the motivation for calling them as such. I don't think it'll be much of a problem; the D macros will probably be able to take the place of most C preprocessor macros, so it'll just be "D's macros are better than C's." |
April 11, 2007 Re: DMD 1.011 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | Walter Bright wrote: > Bug fixes, some enhancements. > > http://www.digitalmars.com/d/changelog.html > > http://ftp.digitalmars.com/dmd.1.011.zip Great. I updated the D mode for Emacs [1] with the new keywords. I also noticed that I had forgotten to include 'inout' and 'cast' as keywords previously. [1] http://www.prowiki.org/wiki4d/wiki.cgi?EditorSupport/EmacsDMode --bb |
April 11, 2007 Re: DMD 1.011 release | ||||
---|---|---|---|---|
| ||||
Posted in reply to Hasan Aljudy | Hasan Aljudy wrote: > > > Walter Bright wrote: >> Bug fixes, some enhancements. >> >> http://www.digitalmars.com/d/changelog.html >> >> http://ftp.digitalmars.com/dmd.1.011.zip > > Hmm .. nice > ref is better than inout .. > > um, > What is the macro keyword for? > Where is it documented? If at all? > > gj, as always Quoth the log: * Added keywords ref and macro. * ref now works as a replacement for inout. I think this means what it means - Walter just reserved the keywords, and 'ref' is now a synonym for 'inout'. -- - EricAnderton at yahoo |
Copyright © 1999-2021 by the D Language Foundation