lilypond-devel
[Top][All Lists]
Advanced

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

[GLISS] Music functions using keyword parameters?


From: Ian Hulin
Subject: [GLISS] Music functions using keyword parameters?
Date: Sat, 08 Sep 2012 17:49:46 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120827 Thunderbird/15.0

This is just a toe-in-the-water enquiry.

Given the work David put in to allow optional music function parameters
in the 2.16 release, how much work would it be able to do something like

\afterGrace :#note d1 :#grace { c16[ d]} :#fraction 15/16
or
\afterGrace :#fraction 15/16 :#note d1 :#grace { c16[ d]}


Notes:
Both the above would produce the same output.
I've used the default Scheme keyword introducer ':#' for the keyword.
I know currently \afterGraceFraction needs to be defined in Scheme
as
#(define afterGraceFraction (cons 15 16))
to do this rather than use a rational.

Is this feasible?

Is this desirable?

Specifically, does it cause huge disruption with the current
parser/lexer code.

Thoughts please? Especially welcome from those who've got down and dirty
with the parser code.

Cheers,

Ian




reply via email to

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