lilypond-user
[Top][All Lists]
Advanced

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

Re: Macro pre-processing?


From: Mats Bengtsson
Subject: Re: Macro pre-processing?
Date: Mon, 01 May 2006 21:53:37 +0200
User-agent: Internet Messaging Program (IMP) H3 (4.0.4)

Quoting Nicolas Sceaux <address@hidden>:

Erik Sandberg <address@hidden> writes:

Citerar Graham Percival <address@hidden>:

In Geoff's defense, this kind of construct _is_ more complicated (to
an end-user) than it needs to be -- why the define-music-function,

One concrete proposal of Graham has been cut out in this thread, namely that there should be no need to specify the two first arguments, parser and location. As far as I understand, it should be trivial to make a version of define-music-function where the user doesn't have to add these arguments manually, so the syntax is

#(new-define-music-function (arg1 arg2 ... ) (typecheck1 typecheck2 ... )
 #{    ordinary LilyPond code using $arg1 $arg2 ...  #}
}

 /Mats






reply via email to

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