| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This appendix contains a description of the LilyPond grammar, as output from the parser.
Grammar
1 start_symbol: lilypond
3 | "#{" embedded_lilypond
4 lilypond: %empty
5 | lilypond toplevel_expression
6 | lilypond assignment
7 | lilypond error
8 | lilypond "\version-error"
9 toplevel_expression: header_block
10 | book_block
11 | bookpart_block
12 | BOOK_IDENTIFIER
13 | score_block
14 | composite_music
15 | full_markup
16 | full_markup_list
17 | SCM_TOKEN
18 | embedded_scm_active
19 | output_def
20 lookup: LOOKUP_IDENTIFIER
21 | LOOKUP_IDENTIFIER '.' symbol_list_rev
22 embedded_scm_bare: SCM_TOKEN
23 | SCM_IDENTIFIER
24 embedded_scm_active: SCM_IDENTIFIER
25 | scm_function_call
26 | lookup
27 embedded_scm_bare_arg: SCM_ARG
28 | SCM_TOKEN
29 | FRACTION
30 | partial_markup
31 | full_markup_list
32 | context_modification
33 | header_block
34 | score_block
35 | context_def_spec_block
36 | book_block
37 | bookpart_block
38 | output_def
39 | lookup
40 embedded_scm: embedded_scm_bare
41 | scm_function_call
42 | lookup
43 embedded_scm_arg: embedded_scm_bare_arg
44 | scm_function_call
45 | music_assign
46 scm_function_call: SCM_FUNCTION function_arglist
47 embedded_lilypond_number: '-' embedded_lilypond_number
48 | bare_number_common
49 | UNSIGNED NUMBER_IDENTIFIER
50 embedded_lilypond: %empty
51 | identifier_init_nonumber
52 | embedded_lilypond_number
53 | post_event
54 | duration post_events
55 | music_embedded music_embedded music_list
56 | error
57 | "\version-error" embedded_lilypond
58 lilypond_header_body: %empty
59 | lilypond_header_body assignment
60 | lilypond_header_body SCM_TOKEN
61 | lilypond_header_body embedded_scm_active
62 lilypond_header: "\header" '{' lilypond_header_body '}'
64 header_block: lilypond_header
65 assignment_id: STRING
66 | SYMBOL
67 assignment: assignment_id '=' identifier_init
68 | assignment_id '.' property_path '=' identifier_init
69 | markup_mode_word '=' identifier_init
70 identifier_init: identifier_init_nonumber
71 | number_expression
72 | symbol_list_part_bare '.' property_path
73 | symbol_list_part_bare ',' property_path
74 | post_event_nofinger post_events
75 identifier_init_nonumber: header_block
76 | score_block
77 | book_block
78 | bookpart_block
79 | output_def
80 | context_def_spec_block
81 | music_assign
82 | pitch_or_music
83 | FRACTION
84 | string
85 | embedded_scm
86 | partial_markup
87 | full_markup_list
88 | context_modification
89 | partial_function "\etc"
90 partial_function_scriptable: MUSIC_FUNCTION function_arglist_partial
91 | EVENT_FUNCTION function_arglist_partial
92 | SCM_FUNCTION function_arglist_partial
93 | MUSIC_FUNCTION
"scheme?"
function_arglist_optional
partial_function
94 | EVENT_FUNCTION
"scheme?"
function_arglist_optional
partial_function
95 | SCM_FUNCTION
"scheme?"
function_arglist_optional
partial_function
96 | MUSIC_FUNCTION
"optional?"
"scheme?"
function_arglist_nonbackup
partial_function
97 | EVENT_FUNCTION
"optional?"
"scheme?"
function_arglist_nonbackup
partial_function
98 | SCM_FUNCTION
"optional?"
"scheme?"
function_arglist_nonbackup
partial_function
99 partial_function: partial_function_scriptable
100 | "\override" grob_prop_path '='
101 | "\set" context_prop_spec '='
102 | "\override" grob_prop_path '=' partial_function
103 | "\set" context_prop_spec '=' partial_function
104 | script_dir markup_mode markup_partial_function
105 | script_dir partial_function_scriptable
106 | script_dir
107 context_def_spec_block: "\context" '{' context_def_spec_body '}'
108 context_mod_arg: embedded_scm
110 | composite_music
111 context_def_spec_body: %empty
112 | context_def_spec_body context_mod
113 | context_def_spec_body context_modification
114 | context_def_spec_body context_mod_arg
115 book_block: "\book" '{' book_body '}'
116 book_body: %empty
117 | BOOK_IDENTIFIER
118 | book_body paper_block
119 | book_body bookpart_block
120 | book_body score_block
121 | book_body composite_music
122 | book_body full_markup
123 | book_body full_markup_list
124 | book_body SCM_TOKEN
125 | book_body embedded_scm_active
127 | book_body lilypond_header
128 | book_body error
129 bookpart_block: "\bookpart" '{' bookpart_body '}'
130 bookpart_body: %empty
131 | BOOK_IDENTIFIER
132 | bookpart_body paper_block
133 | bookpart_body score_block
134 | bookpart_body composite_music
135 | bookpart_body full_markup
136 | bookpart_body full_markup_list
137 | bookpart_body SCM_TOKEN
138 | bookpart_body embedded_scm_active
140 | bookpart_body lilypond_header
141 | bookpart_body error
142 score_block: "\score" '{' score_body '}'
143 score_body: score_items
144 | score_body error
145 score_item: embedded_scm
146 | music
147 | output_def
148 score_items: %empty
149 | score_items score_item
151 | score_items lilypond_header
152 paper_block: output_def
153 output_def: output_def_body '}'
154 output_def_head: "\paper"
155 | "\midi"
156 | "\layout"
157 output_def_head_with_mode_switch: output_def_head
158 music_or_context_def: music_assign
159 | context_def_spec_block
160 output_def_body: output_def_head_with_mode_switch '{'
161 | output_def_body assignment
162 | output_def_body embedded_scm_active
163 | output_def_body SCM_TOKEN
165 | output_def_body music_or_context_def
166 | output_def_body error
167 tempo_event: "\tempo" steno_duration '=' tempo_range
168 | "\tempo" text steno_duration '=' tempo_range
169 | "\tempo" text
170 music_list: %empty
171 | music_list music_embedded
172 | music_list error
173 braced_music_list: '{' music_list '}'
174 music: music_assign
175 | lyric_element_music
176 | pitch_as_music
177 pitch_as_music: pitch_or_music
178 music_embedded: music
179 | post_event
180 | music_embedded_backup
181 | music_embedded_backup
"(backed-up?)"
lyric_element_music
182 | duration post_events
183 music_embedded_backup: embedded_scm
184 music_assign: simple_music
185 | composite_music
186 repeated_music: "\repeat" simple_string unsigned_number music
187 | "\repeat"
simple_string
unsigned_number
music
"\alternative"
braced_music_list
188 sequential_music: "\sequential" braced_music_list
189 | braced_music_list
190 simultaneous_music: "\simultaneous" braced_music_list
191 | "<<" music_list ">>"
192 simple_music: event_chord
193 | music_property_def
194 | context_change
196 context_modification: "\with" '{' context_mod_list '}'
197 | "\with" context_modification_arg
198 context_modification_arg: embedded_scm
199 | MUSIC_IDENTIFIER
200 optional_context_mods: context_modification_mods_list
201 context_modification_mods_list: %empty
202 | context_modification_mods_list
context_modification
203 context_mod_list: %empty
204 | context_mod_list context_mod
205 | context_mod_list context_mod_arg
206 context_prefix: "\context" symbol optional_id optional_context_mods
207 | "\new" symbol optional_id optional_context_mods
208 new_lyrics: "\addlyrics" optional_context_mods lyric_mode_music
209 | new_lyrics
"\addlyrics"
optional_context_mods
lyric_mode_music
210 basic_music: music_function_call
211 | repeated_music
212 | music_bare
213 | "\lyricsto" simple_string lyric_mode_music
214 | "\lyricsto" symbol '=' simple_string lyric_mode_music
215 contextable_music: basic_music
216 | pitch_as_music
217 | event_chord
218 contexted_basic_music: context_prefix contextable_music new_lyrics
219 | context_prefix contextable_music
220 | context_prefix contexted_basic_music
221 composite_music: basic_music
222 | contexted_basic_music
223 | basic_music new_lyrics
224 music_bare: mode_changed_music
225 | MUSIC_IDENTIFIER
226 | grouped_music_list
227 grouped_music_list: simultaneous_music
228 | sequential_music
229 symbol_list_arg: SYMBOL_LIST
230 | SYMBOL_LIST '.' symbol_list_rev
231 | SYMBOL_LIST ',' symbol_list_rev
232 symbol_list_rev: symbol_list_part
233 | symbol_list_rev '.' symbol_list_part
234 | symbol_list_rev ',' symbol_list_part
235 symbol_list_part: symbol_list_part_bare
236 | embedded_scm_bare
237 symbol_list_element: STRING
238 | UNSIGNED
239 symbol_list_part_bare: SYMBOL
240 | symbol_list_element
241 function_arglist_nonbackup: function_arglist_common
242 | "optional?"
"scheme?"
function_arglist_nonbackup
post_event_nofinger
243 | "optional?"
"scheme?"
function_arglist_nonbackup
'-'
UNSIGNED
244 | "optional?"
"scheme?"
function_arglist_nonbackup
'-'
REAL
245 | "optional?"
"scheme?"
function_arglist_nonbackup
'-'
NUMBER_IDENTIFIER
246 | "optional?"
"scheme?"
function_arglist_nonbackup
embedded_scm_arg
247 | "optional?"
"scheme?"
function_arglist_nonbackup
bare_number_common
248 | function_arglist_nonbackup_reparse
"(reparsed?)"
pitch_or_music
249 | function_arglist_nonbackup_reparse
"(reparsed?)"
duration
250 | function_arglist_nonbackup_reparse
"(reparsed?)"
reparsed_rhythm
251 | function_arglist_nonbackup_reparse
"(reparsed?)"
bare_number_common
252 | function_arglist_nonbackup_reparse
"(reparsed?)"
SCM_ARG
253 | function_arglist_nonbackup_reparse
"(reparsed?)"
lyric_element_music
254 | function_arglist_nonbackup_reparse
"(reparsed?)"
symbol_list_arg
255 reparsed_rhythm: DURATION_ARG dots multipliers post_events
256 function_arglist_nonbackup_reparse: "optional?"
"scheme?"
function_arglist_nonbackup
SCM_IDENTIFIER
257 | "optional?"
"scheme?"
function_arglist_nonbackup
pitch
258 | "optional?"
"scheme?"
function_arglist_nonbackup
steno_tonic_pitch
259 | "optional?"
"scheme?"
function_arglist_nonbackup
STRING
260 | "optional?"
"scheme?"
function_arglist_nonbackup
SYMBOL
261 | "optional?"
"scheme?"
function_arglist_nonbackup
full_markup
262 | "optional?"
"scheme?"
function_arglist_nonbackup
UNSIGNED
263 | "optional?"
"scheme?"
function_arglist_nonbackup
DURATION_IDENTIFIER
264 function_arglist_backup: function_arglist_common
265 | "optional?"
"scheme?"
function_arglist_backup
embedded_scm_arg
266 | "optional?"
"scheme?"
function_arglist_backup
post_event_nofinger
267 | "optional?"
"scheme?"
function_arglist_backup
pitch
268 | "optional?"
"scheme?"
function_arglist_backup
steno_tonic_pitch
269 | "optional?"
"scheme?"
function_arglist_backup
full_markup
270 | "optional?"
"scheme?"
function_arglist_backup
UNSIGNED
271 | "optional?"
"scheme?"
function_arglist_backup
REAL
272 | "optional?"
"scheme?"
function_arglist_backup
NUMBER_IDENTIFIER
273 | "optional?"
"scheme?"
function_arglist_backup
'-'
UNSIGNED
274 | "optional?"
"scheme?"
function_arglist_backup
'-'
REAL
275 | "optional?"
"scheme?"
function_arglist_backup
'-'
NUMBER_IDENTIFIER
276 | "optional?"
"scheme?"
function_arglist_backup
DURATION_IDENTIFIER
277 | "optional?"
"scheme?"
function_arglist_backup
SCM_IDENTIFIER
278 | "optional?"
"scheme?"
function_arglist_backup
STRING
279 | "optional?"
"scheme?"
function_arglist_backup
SYMBOL
280 | function_arglist_backup
"(reparsed?)"
pitch_or_music
281 | function_arglist_backup
"(reparsed?)"
bare_number_common
282 | function_arglist_backup "(reparsed?)" duration
283 | function_arglist_backup
"(reparsed?)"
reparsed_rhythm
284 | function_arglist_backup
"(reparsed?)"
symbol_list_arg
285 function_arglist: function_arglist_nonbackup
286 | "optional?"
"scheme?"
function_arglist_skip_nonbackup
"\default"
287 function_arglist_skip_nonbackup: function_arglist_nonbackup
288 | "optional?"
"scheme?"
function_arglist_skip_nonbackup
289 function_arglist_partial: "scheme?" function_arglist_optional
290 | "scheme?" function_arglist_partial_optional
291 | "optional?"
"scheme?"
function_arglist_nonbackup
292 | "optional?"
"scheme?"
function_arglist_partial
293 function_arglist_partial_optional: "scheme?" function_arglist_optional
294 | "scheme?"
function_arglist_partial_optional
295 | "optional?"
"scheme?"
function_arglist_backup
296 | "optional?"
"scheme?"
function_arglist_partial_optional
297 function_arglist_common: EXPECT_NO_MORE_ARGS
298 | "scheme?"
function_arglist_optional
embedded_scm_arg
299 | "scheme?"
function_arglist_optional
bare_number_common
300 | "scheme?"
function_arglist_optional
post_event_nofinger
301 | "scheme?"
function_arglist_optional
'-'
NUMBER_IDENTIFIER
302 | function_arglist_common_reparse
"(reparsed?)"
SCM_ARG
303 | function_arglist_common_reparse
"(reparsed?)"
lyric_element_music
304 | function_arglist_common_reparse
"(reparsed?)"
pitch_or_music
305 | function_arglist_common_reparse
"(reparsed?)"
bare_number_common
306 | function_arglist_common_reparse
"(reparsed?)"
duration
307 | function_arglist_common_reparse
"(reparsed?)"
reparsed_rhythm
308 | function_arglist_common_reparse
"(reparsed?)"
symbol_list_arg
309 function_arglist_common_reparse: "scheme?"
function_arglist_optional
SCM_IDENTIFIER
310 | "scheme?"
function_arglist_optional
pitch
311 | "scheme?"
function_arglist_optional
steno_tonic_pitch
312 | "scheme?"
function_arglist_optional
STRING
313 | "scheme?"
function_arglist_optional
SYMBOL
314 | "scheme?"
function_arglist_optional
full_markup
315 | "scheme?"
function_arglist_optional
UNSIGNED
316 | "scheme?"
function_arglist_optional
DURATION_IDENTIFIER
317 | "scheme?"
function_arglist_optional
'-'
UNSIGNED
318 | "scheme?"
function_arglist_optional
'-'
REAL
319 function_arglist_optional: function_arglist_backup
320 | "optional?"
"scheme?"
function_arglist_skip_backup
"\default"
321 | function_arglist_skip_backup "(backed-up?)"
322 function_arglist_skip_backup: function_arglist_backup
323 | "optional?"
"scheme?"
function_arglist_skip_backup
324 music_function_call: MUSIC_FUNCTION function_arglist
325 optional_id: %empty
326 | '=' simple_string
328 lyric_mode_music: grouped_music_list
329 | MUSIC_IDENTIFIER
330 mode_changed_music: mode_changing_head grouped_music_list
331 | mode_changing_head_with_context
optional_context_mods
grouped_music_list
332 mode_changing_head: "\notemode"
333 | "\drummode"
334 | "\figuremode"
335 | "\chordmode"
336 | "\lyricmode"
337 mode_changing_head_with_context: "\drums"
338 | "\figures"
339 | "\chords"
340 | "\lyrics"
341 context_change: "\change" symbol '=' simple_string
342 property_path: symbol_list_rev
343 property_operation: symbol '=' scalar
344 | "\unset" symbol
345 | "\override" revert_arg '=' scalar
346 | "\revert" revert_arg
347 revert_arg: revert_arg_backup "(backed-up?)" symbol_list_arg
348 revert_arg_backup: revert_arg_part
349 revert_arg_part: symbol_list_part
350 | revert_arg_backup
"(backed-up?)"
SCM_ARG
'.'
symbol_list_part
351 | revert_arg_backup
"(backed-up?)"
SCM_ARG
','
symbol_list_part
352 | revert_arg_backup
"(backed-up?)"
SCM_ARG
symbol_list_part
353 context_def_mod: "\consists"
354 | "\remove"
355 | "\accepts"
356 | "\defaultchild"
357 | "\denies"
358 | "\alias"
359 | "\type"
360 | "\description"
361 | "\name"
362 context_mod: property_operation
363 | context_def_mod STRING
364 | context_def_mod SYMBOL
365 | context_def_mod embedded_scm
366 grob_prop_spec: symbol_list_rev
367 grob_prop_path: grob_prop_spec
368 | grob_prop_spec property_path
369 context_prop_spec: symbol_list_rev
370 simple_revert_context: symbol_list_part
371 music_property_def: "\override" grob_prop_path '=' scalar
372 | "\revert" simple_revert_context revert_arg
373 | "\set" context_prop_spec '=' scalar
374 | "\unset" context_prop_spec
375 string: STRING
376 | SYMBOL
377 | full_markup
378 text: STRING
379 | SYMBOL
380 | full_markup
381 | embedded_scm_bare
382 simple_string: STRING
383 | SYMBOL
384 | embedded_scm_bare
385 symbol: STRING
386 | SYMBOL
387 | embedded_scm_bare
388 scalar: embedded_scm_arg
389 | pitch_or_music
390 | SCM_IDENTIFIER
391 | bare_number
392 | '-' bare_number
393 | string
394 | symbol_list_part_bare '.' property_path
395 | symbol_list_part_bare ',' property_path
396 event_chord: simple_element post_events
397 | CHORD_REPETITION optional_notemode_duration post_events
398 | MULTI_MEASURE_REST optional_notemode_duration post_events
399 | tempo_event
400 | note_chord_element
401 note_chord_element: chord_body optional_notemode_duration post_events
402 chord_body: "<" chord_body_elements ">"
403 | FIGURE_OPEN figure_list FIGURE_CLOSE
404 chord_body_elements: %empty
405 | chord_body_elements chord_body_element
406 chord_body_element: pitch_or_tonic_pitch
exclamations
questions
octave_check
post_events
407 | DRUM_PITCH post_events
408 | music_function_chord_body
409 | post_event
410 music_function_chord_body: music_function_call
411 | MUSIC_IDENTIFIER
412 | embedded_scm
413 event_function_event: EVENT_FUNCTION function_arglist
414 post_events: %empty
415 | post_events post_event
416 post_event_nofinger: direction_less_event
417 | script_dir music_function_call
418 | "--"
419 | "__"
420 | script_dir direction_reqd_event
421 | script_dir direction_less_event
422 | '^' fingering
423 | '_' fingering
424 post_event: post_event_nofinger
425 | '-' fingering
426 string_number_event: E_UNSIGNED
427 direction_less_event: string_number_event
428 | EVENT_IDENTIFIER
429 | tremolo_type
430 | event_function_event
431 direction_reqd_event: gen_text_def
432 | script_abbreviation
433 octave_check: %empty
434 | '=' quotes
435 quotes: %empty
436 | sub_quotes
437 | sup_quotes
438 erroneous_quotes: quotes
439 sup_quotes: '\''
440 | sup_quotes '\''
441 sub_quotes: ','
442 | sub_quotes ','
443 steno_pitch: NOTENAME_PITCH quotes
444 steno_tonic_pitch: TONICNAME_PITCH quotes
445 pitch: steno_pitch
446 | PITCH_IDENTIFIER quotes
447 pitch_or_tonic_pitch: pitch
448 | steno_tonic_pitch
449 gen_text_def: full_markup
450 | STRING
451 | SYMBOL
452 | embedded_scm
453 fingering: UNSIGNED
454 script_abbreviation: '^'
455 | '+'
456 | '-'
457 | '!'
458 | ">"
459 | '.'
460 | '_'
461 script_dir: '_'
462 | '^'
463 | '-'
464 maybe_notemode_duration: %empty
465 | duration
466 optional_notemode_duration: maybe_notemode_duration
467 steno_duration: UNSIGNED dots
468 | DURATION_IDENTIFIER dots
469 duration: steno_duration multipliers
470 dots: %empty
471 | dots '.'
472 multiplier_scm: NUMBER_IDENTIFIER
473 | embedded_scm_bare
474 multipliers: %empty
475 | multipliers '*' UNSIGNED
476 | multipliers '*' FRACTION
477 | multipliers '*' multiplier_scm
478 tremolo_type: ':'
479 | ':' UNSIGNED
480 bass_number: UNSIGNED
481 | STRING
482 | SYMBOL
483 | full_markup
484 | embedded_scm_bare
485 figured_bass_alteration: '-'
486 | '+'
487 | '!'
488 bass_figure: "_"
489 | bass_number
490 | bass_figure ']'
491 | bass_figure figured_bass_alteration
492 | bass_figure figured_bass_modification
493 figured_bass_modification: "\+"
494 | "\!"
495 | '/'
496 | "\\"
497 br_bass_figure: bass_figure
498 | '[' bass_figure
499 figure_list: %empty
500 | figure_list br_bass_figure
501 optional_rest: %empty
502 | "\rest"
503 pitch_or_music: pitch
exclamations
questions
octave_check
maybe_notemode_duration
erroneous_quotes
optional_rest
post_events
504 | new_chord post_events
505 simple_element: DRUM_PITCH optional_notemode_duration
506 | RESTNAME optional_notemode_duration
507 lyric_element: full_markup
508 | SYMBOL
509 | STRING
510 | LYRIC_ELEMENT
511 lyric_element_music: lyric_element
optional_notemode_duration
post_events
512 new_chord: steno_tonic_pitch maybe_notemode_duration
513 | steno_tonic_pitch
optional_notemode_duration
chord_separator
chord_items
514 chord_items: %empty
515 | chord_items chord_item
516 chord_separator: ":"
517 | "^"
518 | "/" steno_tonic_pitch
519 | "/+" steno_tonic_pitch
520 chord_item: chord_separator
521 | step_numbers
522 | CHORD_MODIFIER
523 step_numbers: step_number
524 | step_numbers '.' step_number
525 step_number: UNSIGNED
526 | UNSIGNED '+'
527 | UNSIGNED "-"
528 tempo_range: unsigned_number
529 | unsigned_number '-' unsigned_number
530 number_expression: number_expression '+' number_term
531 | number_expression '-' number_term
532 | number_term
533 number_term: number_factor
534 | number_factor '*' number_factor
535 | number_factor '/' number_factor
536 number_factor: '-' number_factor
537 | bare_number
538 bare_number_common: REAL
539 | NUMBER_IDENTIFIER
540 | REAL NUMBER_IDENTIFIER
541 bare_number: bare_number_common
542 | UNSIGNED
543 | UNSIGNED NUMBER_IDENTIFIER
544 unsigned_number: UNSIGNED
545 | NUMBER_IDENTIFIER
546 | embedded_scm
547 exclamations: %empty
548 | exclamations '!'
549 questions: %empty
550 | questions '?'
552 full_markup_list: "\markuplist" markup_list
553 markup_mode: "\markup"
554 markup_mode_word: markup_mode markup_word
555 full_markup: markup_mode markup_top
556 | markup_mode_word
557 partial_markup: markup_mode markup_partial_function "\etc"
558 markup_top: markup_list
559 | markup_head_1_list simple_markup
560 | simple_markup_noword
562 markup_scm: embedded_scm "(backed-up?)"
563 markup_list: markup_composed_list
564 | markup_uncomposed_list
565 markup_uncomposed_list: markup_braced_list
566 | markup_command_list
567 | markup_scm MARKUPLIST_IDENTIFIER
569 | "\score-lines" '{' score_body '}'
570 markup_composed_list: markup_head_1_list markup_uncomposed_list
571 markup_braced_list: '{' markup_braced_list_body '}'
572 markup_braced_list_body: %empty
573 | markup_braced_list_body markup
574 | markup_braced_list_body markup_list
575 markup_command_list: MARKUP_LIST_FUNCTION markup_command_list_arguments
577 markup_command_embedded_lilypond: '{' embedded_lilypond '}'
578 markup_command_basic_arguments: "markup-list?"
markup_command_list_arguments
markup_list
579 | "scheme?"
markup_command_list_arguments
embedded_scm
580 | "scheme?"
markup_command_list_arguments
markup_command_embedded_lilypond
581 | "scheme?"
markup_command_list_arguments
mode_changed_music
582 | "scheme?"
markup_command_list_arguments
MUSIC_IDENTIFIER
583 | "scheme?"
markup_command_list_arguments
STRING
584 | EXPECT_NO_MORE_ARGS
585 markup_command_list_arguments: markup_command_basic_arguments
586 | "markup?"
markup_command_list_arguments
markup
587 markup_partial_function: MARKUP_FUNCTION markup_arglist_partial
588 | markup_head_1_list
MARKUP_FUNCTION
markup_arglist_partial
589 markup_arglist_partial: "markup?" markup_arglist_partial
590 | "scheme?" markup_arglist_partial
591 | "markup?" markup_command_list_arguments
592 | "scheme?" markup_command_list_arguments
593 markup_head_1_item: MARKUP_FUNCTION
"markup?"
markup_command_list_arguments
594 markup_head_1_list: markup_head_1_item
595 | markup_head_1_list markup_head_1_item
596 markup_word: STRING
597 | SYMBOL
598 simple_markup: markup_word
599 | simple_markup_noword
601 simple_markup_noword: "\score" '{' score_body '}'
602 | MARKUP_FUNCTION markup_command_basic_arguments
603 | markup_scm MARKUP_IDENTIFIER
604 markup: markup_head_1_list simple_markup
605 | simple_markup
Terminals, with rules where they appear
"end of input" (0) 0
'!' (33) 457 487 548
'\'' (39) 439 440
'*' (42) 475 476 477 534
'+' (43) 455 486 526 530
',' (44) 73 231 234 351 395 441 442
'-' (45) 47 243 244 245 273 274 275 301 317 318 392 425 456 463 485 529 531 536
'.' (46) 21 68 72 230 233 350 394 459 471 524
'/' (47) 495 535
':' (58) 478 479
'=' (61) 67 68 69 100 101 102 103 167 168 214 326 341 343 345 371 373 434
'?' (63) 550
'[' (91) 498
']' (93) 490
'^' (94) 422 454 462
'_' (95) 423 460 461
'{' (123) 62 107 115 129 142 160 173 196 569 571 577 601
'}' (125) 62 107 115 129 142 153 173 196 569 571 577 601
error (256) 7 56 128 141 144 166 172
PREC_BOT (258)
"\repeat" (259) 186 187
"\alternative" (260) 187
COMPOSITE (261)
"\addlyrics" (262) 208 209
UNSIGNED (263) 49 238 243 262 270 273 315 317 453 467 475 479 480 525 526 527 542 543 544
REAL (264) 244 271 274 318 538 540
E_UNSIGNED (265) 426
EVENT_IDENTIFIER (266) 428
EVENT_FUNCTION (267) 91 94 97 413
"--" (268) 418
"__" (269) 419
DURATION_IDENTIFIER (270) 263 276 316 468
NUMBER_IDENTIFIER (271) 49 245 272 275 301 472 539 540 543 545
PREC_TOP (272)
"\accepts" (273) 355
"\alias" (274) 358
"\book" (275) 115
"\bookpart" (276) 129
"\change" (277) 341
"\chordmode" (278) 335
"\chords" (279) 339
"\consists" (280) 353
"\context" (281) 107 206
"\default" (282) 286 320
"\defaultchild" (283) 356
"\denies" (284) 357
"\description" (285) 360
"\drummode" (286) 333
"\drums" (287) 337
"\etc" (288) 89 557
"\figuremode" (289) 334
"\figures" (290) 338
"\header" (291) 62
"\version-error" (292) 8 57
"\layout" (293) 156
"\lyricmode" (294) 336
"\lyrics" (295) 340
"\lyricsto" (296) 213 214
"\markup" (297) 553
"\markuplist" (298) 552
"\midi" (299) 155
"\name" (300) 361
"\notemode" (301) 332
"\override" (302) 100 102 345 371
"\paper" (303) 154
"\remove" (304) 354
"\rest" (305) 502
"\revert" (306) 346 372
"\score" (307) 142 601
"\score-lines" (308) 569
"\sequential" (309) 188
"\set" (310) 101 103 373
"\simultaneous" (311) 190
"\tempo" (312) 167 168 169
"\type" (313) 359
"\unset" (314) 344 374
"\with" (315) 196 197
"\new" (316) 207
"/+" (317) 519
"^" (318) 517
":" (319) 516
"-" (320) 527
"/" (321) 518
"<" (322) 402
">" (323) 402 458
"<<" (324) 191
">>" (325) 191
"\\" (326) 496
"\!" (327) 494
"\+" (328) 493
FIGURE_CLOSE (329) 403
FIGURE_OPEN (330) 403
"_" (331) 488
MULTI_MEASURE_REST (332) 398
"markup?" (333) 586 589 591 593
"scheme?" (334) 93 94 95 96 97 98 242 243 244 245 246 247 256 257 258 259 260 261 262 263 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 286 288 289 290 291 292 293 294 295 296 298 299 300 301 309 310 311 312 313 314 315 316 317 318 320 323 579 580 581 582 583 590 592
"(backed-up?)" (335) 181 321 347 350 351 352 562
"(reparsed?)" (336) 248 249 250 251 252 253 254 280 281 282 283 284 302 303 304 305 306 307 308
"markup-list?" (337) 578
"optional?" (338) 96 97 98 242 243 244 245 246 247 256 257 258 259 260 261 262 263 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 286 288 291 292 295 296 320 323
EXPECT_NO_MORE_ARGS (339) 297 584
"#{" (340) 3
BOOK_IDENTIFIER (341) 12 117 131
CHORD_MODIFIER (342) 522
CHORD_REPETITION (343) 397
DRUM_PITCH (344) 407 505
DURATION_ARG (345) 255
FRACTION (346) 29 83 476
LOOKUP_IDENTIFIER (347) 20 21
LYRIC_ELEMENT (348) 510
MARKUP_FUNCTION (349) 587 588 593 602
MARKUP_LIST_FUNCTION (350) 575
MARKUP_IDENTIFIER (351) 603
MARKUPLIST_IDENTIFIER (352) 567
MUSIC_FUNCTION (353) 90 93 96 324
MUSIC_IDENTIFIER (354) 199 225 329 411 582
NOTENAME_PITCH (355) 443
PITCH_IDENTIFIER (356) 446
RESTNAME (357) 506
SCM_ARG (358) 27 252 302 350 351 352
SCM_FUNCTION (359) 46 92 95 98
SCM_IDENTIFIER (360) 23 24 256 277 309 390
SCM_TOKEN (361) 17 22 28 60 124 137 163
STRING (362) 65 237 259 278 312 363 375 378 382 385 450 481 509 583 596
SYMBOL_LIST (363) 229 230 231
TONICNAME_PITCH (364) 444
SYMBOL (365) 66 239 260 279 313 364 376 379 383 386 451 482 508 597
UNARY_MINUS (366)
Nonterminals, with rules where they appear
on left: 0
start_symbol (130)
on left: 1 3
on left: 107
on left: 108 110
on left: 109
on left: 111 112 113 114
on left: 115
on left: 116 117 118 119 120 121 122 123 124 125 127 128
on left: 126
on left: 129
on left: 130 131 132 133 134 135 136 137 138 140 141
on left: 139
on left: 142
on left: 143 144
on left: 145 146 147
on left: 148 149 151
on left: 150
on left: 152
on left: 153
on left: 154 155 156
on left: 157
on left: 158 159
on left: 160 161 162 163 165 166
on left: 164
on left: 167 168 169
on left: 170 171 172
on left: 173
on left: 174 175 176
on left: 177
on left: 178 179 180 181 182
on left: 183
on left: 184 185
on left: 186 187
on left: 188 189
on left: 190 191
on left: 192 193 194
on left: 195
on left: 196 197
on left: 198 199
on left: 2
on left: 20 21
on left: 200
on left: 201 202
on left: 203 204 205
on left: 206 207
on left: 208 209
on left: 210 211 212 213 214
on left: 215 216 217
on left: 218 219 220
on left: 22 23
on left: 221 222 223
on left: 224 225 226
on left: 227 228
on left: 229 230 231
on left: 232 233 234
on left: 235 236
on left: 237 238
on left: 239 240
on left: 24 25 26
on left: 241 242 243 244 245 246 247 248 249 250 251 252 253 254
on left: 255
on left: 256 257 258 259 260 261 262 263
on left: 264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
on left: 27 28 29 30 31 32 33 34 35 36 37 38 39
on left: 285 286
on left: 287 288
on left: 289 290 291 292
on left: 293 294 295 296
on left: 297 298 299 300 301 302 303 304 305 306 307 308
on left: 309 310 311 312 313 314 315 316 317 318
on left: 319 320 321
on left: 322 323
on left: 324
on left: 325 326
on left: 327
on left: 328 329
on left: 330 331
on left: 332 333 334 335 336
on left: 337 338 339 340
on left: 341
on left: 342
on left: 343 344 345 346
on left: 347
on left: 348
on left: 349 350 351 352
on left: 353 354 355 356 357 358 359 360 361
on left: 362 363 364 365
on left: 366
on left: 367 368
on left: 369
on left: 370
on left: 371 372 373 374
on left: 375 376 377
on left: 378 379 380 381
on left: 382 383 384
on left: 385 386 387
on left: 388 389 390 391 392 393 394 395
on left: 396 397 398 399 400
on left: 4 5 6 7 8
on left: 40 41 42
on left: 401
on left: 402 403
on left: 404 405
on left: 406 407 408 409
on left: 410 411 412
on left: 413
on left: 414 415
on left: 416 417 418 419 420 421 422 423
on left: 424 425
on left: 426
on left: 427 428 429 430
on left: 43 44 45
on left: 431 432
on left: 433 434
on left: 435 436 437
on left: 438
on left: 439 440
on left: 441 442
on left: 443
on left: 444
on left: 445 446
on left: 447 448
on left: 449 450 451 452
on left: 453
on left: 454 455 456 457 458 459 460
on left: 46
on left: 461 462 463
on left: 464 465
on left: 466
on left: 467 468
on left: 469
on left: 47 48 49
on left: 470 471
on left: 472 473
on left: 474 475 476 477
on left: 478 479
on left: 480 481 482 483 484
on left: 485 486 487
on left: 488 489 490 491 492
on left: 493 494 495 496
on left: 497 498
on left: 499 500
on left: 50 51 52 53 54 55 56 57
on left: 501 502
on left: 503 504
on left: 505 506
on left: 507 508 509 510
on left: 511
on left: 512 513
on left: 514 515
on left: 516 517 518 519
on left: 520 521 522
on left: 523 524
on left: 525 526 527
on left: 528 529
on left: 530 531 532
on left: 533 534 535
on left: 536 537
on left: 538 539 540
on left: 541 542 543
on left: 544 545 546
on left: 547 548
on left: 549 550
on left: 551
on left: 552
on left: 553
on left: 554
on left: 555 556
on left: 557
on left: 558 559 560
on left: 561
on left: 562
on left: 563 564
on left: 565 566 567 569
on left: 568
on left: 570
on left: 571
on left: 572 573 574
on left: 575
on left: 576
on left: 577
on left: 578 579 580 581 582 583 584
on left: 58 59 60 61
on left: 585 586
on left: 587 588
on left: 589 590 591 592
on left: 593
on left: 594 595
on left: 596 597
on left: 598 599
on left: 600
on left: 601 602 603
on left: 604 605
on left: 62
on left: 63
on left: 64
on left: 65 66
on left: 67 68 69
on left: 70 71 72 73 74
on left: 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89
on left: 9 10 11 12 13 14 15 16 17 18 19
on left: 90 91 92 93 94 95 96 97 98
on left: 99 100 101 102 103 104 105 106
on right: 0
$@1 (131)
on right: 1 5 6 7 8
toplevel_expression (133)
on right: 10 36 77
book_body (158)
on right: 100 102 371
context_prop_spec (235)
on right: 101 103 373 374
simple_revert_context (236)
on right: 104 105 106 417 420 421
maybe_notemode_duration (269)
on right: 104 554 555 557
markup_mode_word (306)
on right: 104 557
markup_arglist_partial (324)
on right: 107 112 113 114
book_block (157)
on right: 11 37 78 119
bookpart_body (161)
on right: 110
context_def_spec_body (156)
on right: 112 204
grob_prop_spec (233)
on right: 114 205
$@3 (155)
on right: 115 118 119 120 121 122 123 124 125 127 128
$@4 (159)
on right: 118 132
output_def (169)
on right: 127
bookpart_block (160)
on right: 129 132 133 134 135 136 137 138 140 141
$@5 (162)
on right: 13 34 76 120 133
score_body (164)
on right: 14 110 121 134 185
music_bare (199)
on right: 140
score_block (163)
on right: 142 144 569 601
score_item (165)
on right: 143 149 151
$@6 (167)
on right: 146 178 186 187
pitch_as_music (179)
on right: 149
score_items (166)
on right: 15
122
135
261
269
314
377
380
449
483
507
partial_markup
(308)
on right: 151
paper_block (168)
on right: 153 161 162 163 165 166
$@7 (174)
on right: 157
output_def_head_with_mode_switch (171)
on right: 16 31 87 123 136
$@10 (304)
on right: 160
music_or_context_def (172)
on right: 165
output_def_body (173)
on right: 165
tempo_event (175)
on right: 167 168
number_expression (295)
on right: 167 168 469
duration (272)
on right: 168 169
simple_string (240)
on right: 175 181 253 303
new_chord (288)
on right: 176 216
music_embedded (180)
on right: 18 61 125 138 162
embedded_scm_bare_arg (137)
on right: 180 181
music_assign (182)
on right: 184
context_modification (187)
on right: 186 187 213 214 326 341
symbol (241)
on right: 186 187 528 529
exclamations (301)
on right: 187 188 189 190
music (178)
on right: 19 38 79 147 152
output_def_head (170)
on right: 192 217
note_chord_element (244)
on right: 193
string (238)
on right: 194
property_path (226)
on right: 196
context_modification_arg (189)
on right: 196 204 205
context_prefix (193)
on right: 197
optional_context_mods (190)
on right: 200 202
context_mod_list (192)
on right: 206 207
lyric_mode_music (220)
on right: 206
207
208
209
331
context_modification_mods_list
(191)
on right: 206 207 214 341 343 344
scalar (242)
on right: 208 209 213 214
$@9 (221)
on right: 209 218 223
basic_music (195)
on right: 21 230 231 233 234 342 366 369
symbol_list_part (203)
on right: 210 410 417
optional_id (219)
on right: 211
sequential_music (184)
on right: 212
grouped_music_list (200)
on right: 215 221 223
contextable_music (196)
on right: 218 219
contexted_basic_music (197)
on right: 218 219 220
new_lyrics (194)
on right: 220 222
composite_music (198)
on right: 224 581
mode_changing_head (223)
on right: 226 328 330 331
symbol_list_arg (201)
on right: 227
simple_music (186)
on right: 228
simultaneous_music (185)
on right: 232
233
234
349
350
351
352
370
symbol_list_element
(204)
on right: 240
symbol_list_part_bare (205)
on right: 241 264
function_arglist_common_reparse (215)
on right: 246 265 298 388
scm_function_call (140)
on right: 248
249
250
251
252
253
254
function_arglist_backup
(209)
on right: 25 41 44
embedded_lilypond_number (141)
on right: 250 283 307
function_arglist_nonbackup_reparse (208)
on right: 254 284 308 347
symbol_list_rev (202)
on right: 255 467 468 471
multiplier_scm (274)
on right: 255 469 475 476 477
tremolo_type (276)
on right: 257 267 310 447 503
pitch_or_tonic_pitch (264)
on right: 258 268 311 448 512 513 518 519
pitch (263)
on right: 26 39 42
embedded_scm_bare (135)
on right: 265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
295
319
322
function_arglist
(210)
on right: 286 288
function_arglist_partial (212)
on right: 290 294 296
function_arglist_common (214)
on right: 3
lilypond (132)
on right: 3 57 577
lilypond_header_body (143)
on right: 30 86
markup_top (309)
on right: 302
303
304
305
306
307
308
function_arglist_optional
(216)
on right: 32 88 113 202
$@8 (188)
on right: 320 321 323
music_function_call (218)
on right: 328
mode_changed_music (222)
on right: 330
mode_changing_head_with_context (224)
on right: 331
context_change (225)
on right: 343 345 371 373
event_chord (243)
on right: 345 346 372
revert_arg_backup (229)
on right: 347 350 351 352
revert_arg_part (230)
on right: 348
context_def_mod (231)
on right: 35 80 159
context_mod_arg (154)
on right: 362
revert_arg (228)
on right: 363 364 365
context_mod (232)
on right: 367 368
grob_prop_path (234)
on right: 372
music_property_def (237)
on right: 391 392 537
unsigned_number (300)
on right: 396
lyric_element (286)
on right: 397 398 401 505 506 511 513
steno_duration (271)
on right: 399
music_list (176)
on right: 40 236 381 384 387 473 484
embedded_scm_active (136)
on right: 400
chord_body (245)
on right: 401
chord_body_elements (246)
on right: 402 405
chord_body_element (247)
on right: 403 500
optional_rest (283)
on right: 405
music_function_chord_body (248)
on right: 406
gen_text_def (265)
on right: 406 503
quotes (257)
on right: 406 503 548
questions (302)
on right: 406 503 550
full_markup_list (303)
on right: 408
event_function_event (249)
on right: 416 421
direction_reqd_event (255)
on right: 420
octave_check (256)
on right: 422 423 425
script_abbreviation (267)
on right: 427
direction_less_event (254)
on right: 429
bass_number (277)
on right: 43
embedded_scm (138)
on right: 430
post_events (250)
on right: 431
fingering (266)
on right: 432
script_dir (268)
on right: 434 438 443 444 446
erroneous_quotes (258)
on right: 436 442
steno_pitch (261)
on right: 437 440
sub_quotes (260)
on right: 445
steno_tonic_pitch (262)
on right: 45 81 158 174
repeated_music (183)
on right: 46 324 413
function_arglist_skip_nonbackup (211)
on right: 466 503 512
optional_notemode_duration (270)
on right: 47 52
embedded_lilypond (142)
on right: 477
multipliers (275)
on right: 48 247 251 281 299 305 541
bare_number (299)
on right: 489
figured_bass_alteration (278)
on right: 490 491 492 497 498
figured_bass_modification (280)
on right: 491
bass_figure (279)
on right: 492
br_bass_figure (281)
on right: 5
lookup (134)
on right: 500
figure_list (282)
on right: 503
pitch_or_music (284)
on right: 503
sup_quotes (259)
on right: 504
chord_items (289)
on right: 51 70
partial_function_scriptable (151)
on right: 511
lyric_element_music (287)
on right: 513 515
chord_separator (290)
on right: 513 520
chord_item (291)
on right: 515
step_numbers (292)
on right: 521 524
step_number (293)
on right: 523 524
tempo_range (294)
on right: 53 179 409 415
string_number_event (253)
on right: 530 531 532
number_factor (297)
on right: 533 534 535 536
bare_number_common (298)
on right: 54 182 249 282 306 465
dots (273)
on right: 54
74
182
255
396
397
398
401
406
407
415
503
504
511
post_event_nofinger
(251)
on right: 55 171
music_embedded_backup (181)
on right: 55 171 172 173 191
braced_music_list (177)
on right: 552
markup_mode (305)
on right: 552 558 574 578
markup_uncomposed_list (313)
on right: 554 598
simple_markup (328)
on right: 555
markup_scm (310)
on right: 559 570 588 595 604
markup_word (327)
on right: 559 604 605
simple_markup_noword (329)
on right: 560 599
$@14 (330)
on right: 562
markup_list (312)
on right: 563
markup_braced_list (316)
on right: 564 570
$@12 (314)
on right: 565
markup_braced_list_body (317)
on right: 566
markup_command_embedded_lilypond (319)
on right: 567 603
$@11 (311)
on right: 569
markup_composed_list (315)
on right: 571 573 574
markup_command_list (318)
on right: 575
578
579
580
581
582
583
586
591
592
593
markup_partial_function
(323)
on right: 577
markup_command_basic_arguments (321)
on right: 580
$@13 (320)
on right: 585 602
markup_command_list_arguments (322)
on right: 587 588 589 590
markup_head_1_item (325)
on right: 59 60 61 62
lilypond_header (144)
on right: 594 595
markup_head_1_list (326)
on right: 6 59 161
identifier_init (149)
on right: 601
markup (331)
on right: 64
assignment_id (147)
on right: 64 127 140 151
header_block (145)
on right: 67 68
assignment (148)
on right: 67 68 69
identifier_init_nonumber (150)
on right: 68 72 73 368 394 395
property_operation (227)
on right: 69 556
full_markup (307)
on right: 71 530 531
number_term (296)
on right: 72 73 235 394 395
function_arglist_nonbackup (206)
on right: 74 242 266 300 424
post_event (252)
on right: 82 177 248 280 304 389
simple_element (285)
on right: 84 393
text (239)
on right: 85
108
145
183
198
365
412
452
546
562
579
embedded_scm_arg
(139)
on right: 89
93
94
95
96
97
98
102
103
context_def_spec_block
(153)
on right: 9 33 75
$@2 (146)
on right: 90 91 92 292
function_arglist_partial_optional (213)
on right: 93
94
95
289
293
298
299
300
301
309
310
311
312
313
314
315
316
317
318
function_arglist_skip_backup
(217)
on right: 96
97
98
242
243
244
245
246
247
256
257
258
259
260
261
262
263
285
287
291
reparsed_rhythm
(207)
on right: 99 105
partial_function (152)
$accept (129)
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] |
This document was generated by gub on July 13, 2020 using texi2html 1.82.