[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: parser variables persist beyond { } scope
From: |
John Mandereau |
Subject: |
Re: parser variables persist beyond { } scope |
Date: |
Thu, 06 Aug 2009 17:27:20 +0200 |
Le jeudi 06 août 2009 à 16:14 +0100, Ian Hulin a écrit :
> At the moment it looks like we're setting the equivalent of a global
> static variable to do this - bad news for such a specific function.
Indeed.
> Is there a way of do this sort of thing sometime in the future?
>
> \afterGrace {d1 {c16[ d] }} % works as now - except extra braces
> \afterGrace {d1 {c16[ d] } 15 16} % extra two optional parameter does
> the biz currently done by
Music functions are defined in a simpler way: they take a fixed number
of arguments, and by convention music is always in the last arguments,
so \afterGrace invocation should look something like
\afterGrace #'(15 . 16) d1 {c16[ d] }
You could still have the same behavior as before (including its
disavantages) with
#(define afterGraceFraction (cons 15 16))
%% ... lots of music input ...
\afterGrace #afterGraceFraction d1 {c16[ d] }
John
signature.asc
Description: Ceci est une partie de message numériquement signée
- Re: parser variables persist beyond { } scope, Ian Hulin, 2009/08/04
- Re: parser variables persist beyond { } scope, Han-Wen Nienhuys, 2009/08/04
- Re: parser variables persist beyond { } scope, Mark Polesky, 2009/08/06
- Re: parser variables persist beyond { } scope, Mark Polesky, 2009/08/06
- Re: parser variables persist beyond { } scope, John Mandereau, 2009/08/06
- Re: parser variables persist beyond { } scope, Reinhold Kainhofer, 2009/08/06
- Re: parser variables persist beyond { } scope, Werner LEMBERG, 2009/08/07
- Re: parser variables persist beyond { } scope, Mark Polesky, 2009/08/07
- Re: parser variables persist beyond { } scope, Reinhold Kainhofer, 2009/08/07
- Re: parser variables persist beyond { } scope, John Mandereau, 2009/08/09
- Re: parser variables persist beyond { } scope, Carl Sorensen, 2009/08/09
- Re: parser variables persist beyond { } scope, Mark Polesky, 2009/08/09