On Sat, Feb 19, 2011 at 6:24 PM, Graham Percival
<gra...@percival-music.ca> wrote:
>
> Wow.  Brilliant work here:
> http://99-bottles-of-beer.net/language-lilypond-1351.html

Pretty cool!  I wonder if the number lookups could be simplified with
the  'r' format spec?

(use-modules (ice-9 format))

(string-split (format #f "~r" 99) #\-)   ==> ("ninety" "nine")

The syllabification alist would still be needed, of course.

Cheers,
Mike

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to