[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: file structure (hierarchy)
From: |
Mats Bengtsson |
Subject: |
Re: file structure (hierarchy) |
Date: |
Tue, 12 Feb 2008 14:34:55 +0100 |
User-agent: |
Thunderbird 2.0.0.5 (X11/20070716) |
Bertalan Fodor (LilyPondTool) wrote:
See the attached image for a simplified structure definition of a
score block.
Nice! I don't agree with all details, though.
Well, \set is a music expression, namely a music property definition.
What is good to remember is that there is 3 kinds of output
definition: \paper, \layout and \midi
If you read carefully in lily/parser.yy, you'll notice that a \paper
block cannot
be included within a \score block. On the other hand, you forgot to mention
that a \header block can be included in a \score block.
My other main objection to your nice graph, is that a composite_music
is either a simultaneous_music << ... >> or a sequential_music {...}.
Also, your graph does not mention the prefix_composite_music, i.e.
that you can have such things as \repeat volta 2 {...} or \relative c''
<< ... >> or ...
This is natural, since the intention is to just provide a simplified
overview, still
there have been some questions over the years, related to exactly this
issue.
/Mats
- file structure (hierarchy), Werner, 2008/02/11
- Re: file structure (hierarchy), Graham Percival, 2008/02/12
- Re: file structure (hierarchy), Andrew Black, 2008/02/13
- Re: file structure (hierarchy), Mats Bengtsson, 2008/02/13
- Re: file structure (hierarchy), Bertalan Fodor (LilyPondTool), 2008/02/13
- Re: file structure (hierarchy), Mats Bengtsson, 2008/02/13
- RE: file structure (hierarchy), Trevor Daniels, 2008/02/13
- Re: file structure (hierarchy), Werner, 2008/02/13
- Re: file structure (hierarchy), Mats Bengtsson, 2008/02/13
- RE: file structure (hierarchy), Trevor Daniels, 2008/02/13