Search

October 02, 2009
General »
...print();
   two.print();
   fifty.print();
   infinity.print();

}

Outputs:

   100
   2
   50
   Infinity


Cheers

Justin Johansson.

September 27, 2009
General »
...the strings in a switch. The compiler outputs the string table as a sorted list.
September 23, 2009
General »
pragma(msg, char.init.stringof);

outputs '\xff' in D2, wchar and dchar have the same...
September 15, 2009
General »
...parses stuff written in language X and outputs it in pretty printed form in language...
September 12, 2009
General »
...femit-templates, so it's doable ;) LDC outputs instantiations to all objects.


-- 
Tomasz Stachowiak
http...
September 09, 2009
General »
...function that takes a meta-program and outputs another program that can be compiled to...
August 30, 2009
Issues »
...the files instantiate the same template, dmd outputs the code for that template only into...
August 28, 2009
Announce »
...used GOLD to write a program that outputs the parse tree of any source file...
August 08, 2009
Issues »
...PDT ---

I meant that right now this outputs:

__dgliteral1(__T2)
__dgliteral3(__T4)

and it should...
August 08, 2009
Issues »
...i < z; })();
}

void main(string[] args)
{
}

This outputs:

__funcliteral1(__T2)
__dgliteral3(__T4)

because the first...
139 140 141 142 143 144 145 146 147 148 149
Next ›   Last »