DMD 1.005 release

Kirk McDonald kirklin.mcdonald at gmail.com
Mon Feb 5 23:25:01 PST 2007


Walter Bright wrote:
> Fixes many bugs, some serious.
> 
> Some new goodies.
> 
> http://www.digitalmars.com/d/changelog.html
> 
> http://ftp.digitalmars.com/dmd.1.005.zip

Mwahaha! This program, when run, prints out a copy of its own source. It 
also has some completely gratuitous new-style mixins.

// file test.d
mixin(`import std.stdio : writefln;`);

mixin(`void main() {
     mixin("writefln(import(\"test.d\"));");
}`);

-- 
Kirk McDonald
Pyd: Wrapping Python with D
http://pyd.dsource.org



More information about the Digitalmars-d-announce mailing list