digitalmars.D.announce - Re: DMD 1.005 release
- Stewart Gordon <smjg iname.com> Feb 07 2007
Kirk McDonald Wrote: <snip>// file test.d mixin(`import std.stdio : writefln;`); mixin(`void main() { mixin("writefln(import(\"test.d\"));"); }`);
So now you can write cheat quines in D! But the cheating is at compile time, rather than at run time as with cheat quines in some other languages. Stewart.
Feb 07 2007








Stewart Gordon <smjg iname.com>