lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scheme - notes as variables


From: John Mandereau
Subject: Re: scheme - notes as variables
Date: Thu, 29 Jan 2009 22:21:12 +0100
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

Hello Rob,
Rob Canning wrote:
i was trying to do it using scheme just because i thought learning to do this kind of thing in scheme would help me with other aspects of lilypond in general - perl looks neat though "the swiss army chainsaw of languages" i heard it refered to as :)-

Using simple regexp substitution with Perl, Python or whichever scripting language you like is quite fragile, because regular expressions alone are not enough to parse LilyPond input format.


maybe scheme is the wrong tool for the job?

Currently Scheme is the only way to do it cleanly. Best would be implementing lambda calculus in ly language itself; I hope it's possible with writing a few music functions in Scheme. People at the GRAME in Lyon have already thought about lambda calculus usage in music notation, their articles is a good starting point for implementing these ideas in LilyPond. I don't have time to do this myself before March, though.

Best,
John




reply via email to

[Prev in Thread] Current Thread [Next in Thread]