[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: 99 bottles
- To: <address@hidden>
- Subject: RE: 99 bottles
- From: "OConnor, Edward (Edward)" <address@hidden>
- Date: Wed, 9 Oct 2002 12:50:45 -0400
- Sender: address@hidden
- Thread-index: AcJvtANQFaPnpPC1Tsmb17CC6DpScw==
- Thread-topic: RE: 99 bottles
How about a _readable_ version, though?
Here's a version done in REBOL:
http://www.reboltech.com/library/html/beersong.html
This script recreates the song faithfully (with an extra bit of flair) in 15 easy-as-pie lines of code.
Using REBOL/Core (280 Kb, runs on 43 platforms: http://www.rebol.com/platforms.html or see http://www.reboltech.com/downloads/), you can just type at the interpreter command line:
do http://www.reboltech.com/library/scripts/beersong.r
Want it smaller? Don't bother rewriting it-- maybe just compress it:
write %beerzip.r compress read http://www.reboltech.com/library/scripts/beersong.r
;; (file shrinks from 618 bytes to 320)
do decompress read/binary %beerzip.r
// Ed