[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lily in scm, using music variables
From: |
Nicolas Sceaux |
Subject: |
Re: lily in scm, using music variables |
Date: |
Wed, 05 May 2004 12:18:47 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Tue, 4 May 2004 23:27:50 +0200, Han-Wen a dit :
> address@hidden writes:
>>
>> > (let*
>> > ((parser (ly:clone-current-parser)))
>> > (ly:parser-define parser 'myMusic myMusic)
>> > (ly:parse-string parser "c4 \myMusic "))
>>
>> > Then it also works for non-Music objects and requires much less code.
>> > That should be feasible, AFAICT. What do you think?
>>
>> That would be cleaner and more robust indeed! (my suggestion was
>> stupid, dohh). I'll try something with that.
> Ok!
> (so are you volunteering to write the C++ glue? :-)
In spite of my disgust for that ;) maybe I'll have to ask a few
questions about the parser thing which I don't know very much (but
this is postponed until I come back from holidays... hello Venice)
nicolas