Re: #{ $music #}

2004-05-14 Thread Han-Wen Nienhuys
[EMAIL PROTECTED] writes: > Fri, 14 May 2004 09:03:33 +0200, Han-Wen a dit : > > > [EMAIL PROTECTED] writes: > >> +LY_DEFINE (ly_clone_parser, "ly:clone-parser", > >> + 1, 0, 0, > >> + (SCM parser_smob), > >> + "Return a clone of PARSER_SMOB.") > >> +{ > >> +

Re: music-functions: problem with -\tag

2004-05-14 Thread Han-Wen Nienhuys
[EMAIL PROTECTED] writes: > > functions could be accepted at that place. Perhaps in the 'post_event' > > rule? > > hm, my attempts introduce 39 shift/reduce conflicts... I don't see how > to do that. If someone want to look at it and try, here is a patch of > what I have done so far with ly:make

music-functions: problem with -\tag

2004-05-14 Thread Han-Wen Nienhuys
[EMAIL PROTECTED] writes: > Hello, > > While working on ly/music-functions-init.ly, I had a little problem > with the \tag keyword, when occuring after a '-': > > c1-\mytag #'part ^4 > > the parser complains: > > /home/nicolas/lilypond-cvs/dev/tag-filter.ly:28:12: Erreur: syntax error, unex

Re: Question regaring editor / debugger idea

2004-05-14 Thread David Bobroff
At 09:59 PM 5/14/2004 +0300, you wrote: >Some comments: > > "no octave mark indicates the octave below middle c" > >Isn't c' middle c? Yes. So it appears to me that the two statements above are consistent with each other: c = 'small c' (octave below middle c) c' = 'c one' (middle c) -David

Question regaring editor / debugger idea

2004-05-14 Thread Han-Wen Nienhuys
[EMAIL PROTECTED] writes: > My question is if it is OK to ask you developers for information as I > progress. For a start I would like to know if there is an easy way to > extract all keywords (or better all words that start with a \ and are > valid Lilypond 'words' - I don't know if keyword is t

Re: music-functions: problem with -\tag

2004-05-14 Thread Nicolas Sceaux
Fri, 14 May 2004 12:21:47 +0200, Nicolas a dit : > Hello, > While working on ly/music-functions-init.ly, I had a little problem > with the \tag keyword, when occuring after a '-': > c1-\mytag #'part ^4 > the parser complains: > /home/nicolas/lilypond-cvs/dev/tag-filter.ly:28:12: Erreu

Re: Question regaring editor / debugger idea

2004-05-14 Thread Heikki Johannes Junes
On Fri, 14 May 2004 13:38:07 -0400 David Brandon <[EMAIL PROTECTED]> wrote: > I've started on a language reference. You can take a look at what I've > > got so far. See attached. It's not much but it's a start. Also, look > > in the files in /usr/local/share/lilypond//ly (or as > appropriat

Re: Question regaring editor / debugger idea

2004-05-14 Thread David Brandon
I've started on a language reference. You can take a look at what I've got so far. See attached. It's not much but it's a start. Also, look in the files in /usr/local/share/lilypond//ly (or as appropriate for your system). A lot of stuff is in there. David langref.texi Description: Bina

music-functions: problem with -\tag

2004-05-14 Thread Nicolas Sceaux
Hello, While working on ly/music-functions-init.ly, I had a little problem with the \tag keyword, when occuring after a '-': c1-\mytag #'part ^4 the parser complains: /home/nicolas/lilypond-cvs/dev/tag-filter.ly:28:12: Erreur: syntax error, unexpected MUSIC_FUNCTION_SCM_MUSIC: c1-\myta

Re: Question regaring editor / debugger idea

2004-05-14 Thread Mats Bengtsson
This seems to be a natural first reaction for new LilyPond users with some previous programming experience. I recommend that you search the mailing list archives for similar discussions in the past. There are already a number of additions to different editors with a similar scope as yours. Packed w

Re: #{ $music #}

2004-05-14 Thread Nicolas Sceaux
Fri, 14 May 2004 09:03:33 +0200, Han-Wen a dit : > [EMAIL PROTECTED] writes: >> +LY_DEFINE (ly_clone_parser, "ly:clone-parser", >> + 1, 0, 0, >> + (SCM parser_smob), >> + "Return a clone of PARSER_SMOB.") >> +{ >> + My_lily_parser *parser = unsmob_my_lily_pa

Question regaring editor / debugger idea

2004-05-14 Thread Rob van Putten
Hi all, This is my first post here so I would like to start with a big thank you to the developers of Lilypond. It is a remarkable achievement! Now to my question: I want to write a graphical frontend to lilypond (using (wx)python). Not as complicated as NoteEdit but something which simplifies t

#{ $music #}

2004-05-14 Thread Han-Wen Nienhuys
[EMAIL PROTECTED] writes: > +LY_DEFINE (ly_clone_parser, "ly:clone-parser", > + 1, 0, 0, > + (SCM parser_smob), > + "Return a clone of PARSER_SMOB.") > +{ > + My_lily_parser *parser = unsmob_my_lily_parser (parser_smob); > + My_lily_parser *clone = new My_lily_parse