www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - D specification

reply mumba <qniol o2.pl> writes:
Where I can find the full specification of the D programming language? For
version 1.0 at least. I really need it.

To show what I mean - something similar to these documents: 
http://www.open-std.org/JTC1/SC22/WG14/www/docs/n1256.pdf
http://java.sun.com/docs/books/jls/docs/books/jls/download/langspec-3.0.pdf
In both form and content. 

Does it exist?
Oct 06 2008
next sibling parent reply bearophile <bearophileHUGS lycos.com> writes:
mumba:
 Where I can find the full specification of the D programming language? For
version 1.0 at least. I really need it.
 ...
 In both form and content.

You can't. D isn't such widely used, so stable, and so formalized yet, and it will probably take years to reach that stage (if ever it will reach it. There are languages like Python that are used by millions of people, that are 15 years old, and don't have that level of specification "yet"). In the meantime you can see the D1 docs here: http://www.digitalmars.com/d/1.0/index.html Bye, bearophile
Oct 06 2008
next sibling parent mumba <qniol o2.pl> writes:
bearophile Wrote:

 You can't. D isn't such widely used, so stable, and so formalized yet, and it
will probably take years to reach that stage (if ever it will reach it. There
are languages like Python that are used by millions of people, that are 15
years old, and don't have that level of specification "yet").
 
 In the meantime you can see the D1 docs here:
 http://www.digitalmars.com/d/1.0/index.html

However - Walter had to write the compiler somehow, so I guess this level of formality is already present implicitly in the dmd's source code. I'm just looking for a more convinent form.
Oct 07 2008
prev sibling parent "Jarrett Billingsley" <jarrett.billingsley gmail.com> writes:
On Tue, Oct 7, 2008 at 4:28 AM, mumba <qniol o2.pl> wrote:
 bearophile Wrote:

 You can't. D isn't such widely used, so stable, and so formalized yet, and it
will probably take years to reach that stage (if ever it will reach it. There
are languages like Python that are used by millions of people, that are 15
years old, and don't have that level of specification "yet").

 In the meantime you can see the D1 docs here:
 http://www.digitalmars.com/d/1.0/index.html

However - Walter had to write the compiler somehow, so I guess this level of formality is already present implicitly in the dmd's source code. I'm just looking for a more convinent form.

No.. not really. I mean, look at the DMD frontend. Not a lot of formality there. ;)
Oct 07 2008
prev sibling parent BCS <ao pathlink.com> writes:
Reply to mumba,

 Where I can find the full specification of the D programming language?
 For version 1.0 at least. I really need it.
 
 To show what I mean - something similar to these documents:
 http://www.open-std.org/JTC1/SC22/WG14/www/docs/n1256.pdf
 http://java.sun.com/docs/books/jls/docs/books/jls/download/langspec-3.
 0.pdf In both form and content.
 
 Does it exist?
 

the best docs are in the dmd.zip file under html/
Oct 06 2008