Jump to page: 1 25  
Page
Thread overview
DMD 1.011 release
Apr 11, 2007
Walter Bright
Apr 11, 2007
Kirk McDonald
Apr 11, 2007
Walter Bright
Apr 11, 2007
Lionello Lunesu
Apr 11, 2007
Walter Bright
Apr 11, 2007
Manfred Nowak
Apr 11, 2007
Walter Bright
Apr 11, 2007
Hasan Aljudy
Apr 11, 2007
Pragma
Apr 11, 2007
Walter Bright
Apr 11, 2007
Hasan Aljudy
Apr 11, 2007
Walter Bright
Apr 11, 2007
jcc7
Apr 11, 2007
Charlie
Apr 11, 2007
Tom
Apr 11, 2007
Bill Baxter
Apr 11, 2007
Sean Kelly
Apr 11, 2007
Max Samukha
DMD 1.011 release -- prior code does not compile
Apr 11, 2007
kris
Apr 11, 2007
kris
Apr 11, 2007
Walter Bright
Apr 11, 2007
Walter Bright
Apr 11, 2007
Sean Kelly
Apr 11, 2007
Walter Bright
Apr 11, 2007
Serg Kovrov
Apr 11, 2007
Charlie
Apr 11, 2007
freeagle
Apr 11, 2007
Serg Kovrov
Apr 11, 2007
freeagle
Apr 11, 2007
Charlie
Apr 11, 2007
Brad Roberts
Apr 11, 2007
Sean Kelly
Apr 11, 2007
Marcin Kuszczak
Apr 11, 2007
Bill Baxter
Apr 16, 2007
Sean Kelly
Apr 11, 2007
Walter Bright
Apr 11, 2007
Derek Parnell
Apr 11, 2007
Walter Bright
Apr 11, 2007
Derek Parnell
Apr 11, 2007
Walter Bright
Apr 11, 2007
Serg Kovrov
Apr 11, 2007
Walter Bright
April 11, 2007
Bug fixes, some enhancements.

http://www.digitalmars.com/d/changelog.html

http://ftp.digitalmars.com/dmd.1.011.zip
April 11, 2007
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
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
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

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
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
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
"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
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
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
« First   ‹ Prev
1 2 3 4 5