99 bottles of compile-time beer

Walter Bright newshound at digitalmars.com
Fri Aug 11 11:41:37 PDT 2006


Don Clugston wrote:
> My D metaprogramming version of this code has just been posted. Useless, 
> but fun. Enjoy.
> 
> http://www.99-bottles-of-beer.net/language-d-1212.html
> 
> Compile with: dmd -c -o- beer.d
> 
> (Compare with the highly-rated C/C++ preprocessor version, which isn't 
> even correct (it gets the capitalisation of 'no more' wrong in the 
> second last verse)).

This is totally cool. Thanks!



More information about the Digitalmars-d-announce mailing list