On Tue, Apr 9, 2013 at 12:38 PM, Steven D'Aprano <steve+comp.lang.pyt...@pearwood.info> wrote: > On Mon, 08 Apr 2013 21:09:08 -0400, Roy Smith wrote: > >>> There's a whole competition about writing the smallest program which >>> outputs the song "99 bottles of beer": >>> >>> http://codegolf.com/99-bottles-of-beer >> >> I see the top 10 entries are all written in Perl. I suppose this says >> something. > > > When I write my own programming language, it will include a one-character > built-in command to perform 99 bottles of beer, just so my language will > always be the winner. > > In fact, I may make it a bare . so that not only will it be the shortest > program, but also the smallest program in terms of number of non-white > pixels.
Don't be too specific, Steven. Also include a one-character built-in to emit the program's own source, and another to echo "hello, world" to standard output. And one to increment the accumulator, just for completeness. Who knows, it might already exist! http://esolangs.org/wiki/Cliff_L._Biffle ChrisA -- http://mail.python.org/mailman/listinfo/python-list