3 LilyInput - LilyPond input format
7 This page globally documents the the LilyPond input format, mudela.
8 To get a better impression, please study some examples.
12 General format of a construct:
14 BLOCKNAME { <info to go with this block> }
16 Some types allow declarations:
18 IDENTIFIER = BLOCKNAME {
19 <info to go with this block>
36 Twin- kle, twin- kle lit- tle star,2
38 a lot of characters parse differently
39 than in "command" mode, eg,
41 identifier = score { .. }
43 So you have to signal this to the tokenizer. This is done with
44 '$'. '$' is a delimiter, which used by the tokenizer only. The same
45 goes for lyrics, it has a '@' delimiter.
48 musicmode: The brace still is used to group grammatical groups.
51 musicmode: "word" are preceded by a '\' (backslash)
53 This means you can write some stuff in a zillion ways:
56 $\var = \blockname { ... } $
59 var = blockname { $ ... $ }
62 var = $ $ $\blockname { ... $ }
66 Not really crystallized; you can use '#' or '%' as line comment
70 LilyPond first reads 'symbol.ini', which contains declarations crucial
71 to proper operation of LilyPond (symbol tables, note names).