Grammar 1 start_symbol: lilypond 3 start_symbol: "#{" $ embedded_lilypond 4 lilypond: /* empty */ 5 | lilypond toplevel_expression 6 | lilypond assignment 7 | lilypond error 8 | lilypond "\version-error" 9 toplevel_expression: lilypond_header 10 | book_block 11 | bookpart_block 12 | score_block 13 | composite_music 14 | full_markup 15 | full_markup_list 16 | output_def 17 embedded_scm_bare: SCM_TOKEN 18 | SCM_IDENTIFIER 19 embedded_scm_bare_arg: embedded_scm_bare 20 | STRING 21 | STRING_IDENTIFIER 22 | full_markup 23 | full_markup_list 24 | context_modification 25 | score_block 26 | context_def_spec_block 27 | book_block 28 | bookpart_block 29 | output_def 30 embedded_scm: embedded_scm_bare 31 | scm_function_call 32 embedded_scm_arg: embedded_scm_bare_arg 33 | scm_function_call 34 | music_arg 35 scm_function_call: SCM_FUNCTION function_arglist 36 embedded_lilypond: /* empty */ 37 | identifier_init 38 | music music music_list 39 | error 40 | "\version-error" embedded_lilypond 41 lilypond_header_body: /* empty */ 42 | lilypond_header_body assignment 43 lilypond_header: "\header" '{' lilypond_header_body '}' 44 assignment_id: STRING 45 | LYRICS_STRING 46 assignment: assignment_id '=' identifier_init 47 | assignment_id property_path '=' identifier_init 48 | embedded_scm 49 identifier_init: score_block 50 | book_block 51 | bookpart_block 52 | output_def 53 | context_def_spec_block 54 | music_assign 55 | post_event_nofinger 56 | number_expression 57 | string 58 | embedded_scm 59 | full_markup 60 | full_markup_list 61 | context_modification 62 context_def_spec_block: "\context" '{' context_def_spec_body '}' 63 context_mod_arg: embedded_scm 64 | composite_music 65 context_mod_embedded: context_mod_arg 66 context_def_spec_body: /* empty */ 67 | CONTEXT_DEF_IDENTIFIER 68 | context_def_spec_body context_mod 69 | context_def_spec_body context_modification 70 | context_def_spec_body context_mod_embedded 71 book_block: "\book" '{' book_body '}' 72 book_body: /* empty */ 73 | BOOK_IDENTIFIER 74 | book_body paper_block 75 | book_body bookpart_block 76 | book_body score_block 77 | book_body composite_music 78 | book_body full_markup 79 | book_body full_markup_list 80 | book_body lilypond_header 81 | book_body embedded_scm 82 | book_body error 83 bookpart_block: "\bookpart" '{' bookpart_body '}' 84 bookpart_body: /* empty */ 85 | BOOK_IDENTIFIER 86 | bookpart_body paper_block 87 | bookpart_body score_block 88 | bookpart_body composite_music 89 | bookpart_body full_markup 90 | bookpart_body full_markup_list 91 | bookpart_body lilypond_header 92 | bookpart_body embedded_scm 93 | bookpart_body error 94 score_block: "\score" '{' score_body '}' 95 score_body: music 96 | SCORE_IDENTIFIER 97 | score_body lilypond_header 98 | score_body output_def 99 | score_body error 100 paper_block: output_def 101 output_def: output_def_body '}' 102 output_def_head: "\paper" 103 | "\midi" 104 | "\layout" 105 output_def_head_with_mode_switch: output_def_head 106 output_def_body: output_def_head_with_mode_switch '{' 107 | output_def_head_with_mode_switch '{' OUTPUT_DEF_IDENTIFIER 108 | output_def_body assignment 109 | output_def_body context_def_spec_block 110 | output_def_body music_arg 111 | output_def_body error 112 tempo_event: "\tempo" steno_duration '=' tempo_range 113 | "\tempo" scalar_closed steno_duration '=' tempo_range 114 | "\tempo" scalar 115 music_list: /* empty */ 116 | music_list music 117 | music_list embedded_scm 118 | music_list error 119 braced_music_list: '{' music_list '}' 120 music: music_arg 121 | lyric_element_music 122 music_arg: simple_music 123 | composite_music 124 music_assign: simple_music 125 | composite_music 126 | lyric_element_music 127 repeated_music: "\repeat" simple_string unsigned_number music 128 | "\repeat" simple_string unsigned_number music "\alternative" braced_music_list 129 sequential_music: "\sequential" braced_music_list 130 | braced_music_list 131 simultaneous_music: "\simultaneous" braced_music_list 132 | "<<" music_list ">>" 133 simple_music: event_chord 134 | music_property_def 135 | context_change 137 context_modification: "\with" $ '{' context_mod_list '}' 138 | "\with" CONTEXT_MOD_IDENTIFIER 139 | CONTEXT_MOD_IDENTIFIER 140 | "\with" embedded_scm_closed 141 optional_context_mod: /* empty */ 142 | context_modification 143 context_mod_list: /* empty */ 144 | context_mod_list context_mod 145 | context_mod_list CONTEXT_MOD_IDENTIFIER 146 | context_mod_list context_mod_embedded 147 composite_music: complex_music 148 | music_bare 149 closed_music: music_bare 150 | complex_music_prefix closed_music 151 music_bare: mode_changed_music 152 | MUSIC_IDENTIFIER 153 | grouped_music_list 154 grouped_music_list: simultaneous_music 155 | sequential_music 156 function_arglist_skip: function_arglist_common 157 | "optional?" "ly:pitch?" function_arglist_skip 158 | "optional?" "ly:duration?" function_arglist_skip 159 | "optional?" "scheme?" function_arglist_skip 160 function_arglist_nonbackup: "optional?" "ly:pitch?" function_arglist pitch_also_in_chords 161 | "optional?" "ly:duration?" function_arglist_closed duration_length 162 | "optional?" "scheme?" function_arglist embedded_scm_arg_closed 163 | "optional?" "scheme?" function_arglist_closed bare_number_closed 164 | "optional?" "scheme?" function_arglist_closed FRACTION 165 | "optional?" "scheme?" function_arglist_closed post_event_nofinger 166 | "optional?" "scheme?" function_arglist_closed '-' UNSIGNED 167 | "optional?" "scheme?" function_arglist_closed '-' REAL 168 | "optional?" "scheme?" function_arglist_closed '-' NUMBER_IDENTIFIER 169 function_arglist_keep: function_arglist_common 170 | function_arglist_backup 171 function_arglist_closed_keep: function_arglist_closed_common 172 | function_arglist_backup 173 function_arglist_backup: "optional?" "scheme?" function_arglist_keep embedded_scm_arg_closed 174 | "optional?" "scheme?" function_arglist_closed_keep post_event_nofinger 175 | "optional?" "scheme?" function_arglist_keep lyric_element 176 | "optional?" "scheme?" function_arglist_closed_keep UNSIGNED 177 | "optional?" "scheme?" function_arglist_closed_keep REAL 178 | "optional?" "scheme?" function_arglist_closed_keep NUMBER_IDENTIFIER 179 | "optional?" "scheme?" function_arglist_closed_keep FRACTION 180 | "optional?" "scheme?" function_arglist_closed_keep '-' UNSIGNED 181 | "optional?" "scheme?" function_arglist_closed_keep '-' REAL 182 | "optional?" "scheme?" function_arglist_closed_keep '-' NUMBER_IDENTIFIER 183 | "optional?" "ly:pitch?" function_arglist_keep pitch_also_in_chords 184 | "optional?" "ly:duration?" function_arglist_closed_keep duration_length 185 | "optional?" "scheme?" function_arglist_backup "(backed-up?)" 186 | function_arglist_backup "(reparsed?)" embedded_scm_arg_closed 187 | function_arglist_backup "(reparsed?)" bare_number 188 | function_arglist_backup "(reparsed?)" fraction 189 function_arglist: function_arglist_common 190 | function_arglist_nonbackup 191 function_arglist_common: function_arglist_bare 192 | "scheme?" function_arglist_optional embedded_scm_arg 193 | "scheme?" function_arglist_closed_optional bare_number 194 | "scheme?" function_arglist_closed_optional fraction 195 | "scheme?" function_arglist_closed_optional post_event_nofinger 196 | function_arglist_common_minus 197 | function_arglist_common_lyric 198 function_arglist_common_lyric: "scheme?" function_arglist_optional lyric_element 199 | function_arglist_common_lyric "(reparsed?)" lyric_element_arg 200 function_arglist_common_minus: "scheme?" function_arglist_closed_optional '-' UNSIGNED 201 | "scheme?" function_arglist_closed_optional '-' REAL 202 | "scheme?" function_arglist_closed_optional '-' NUMBER_IDENTIFIER 203 | function_arglist_common_minus "(reparsed?)" bare_number 204 function_arglist_closed: function_arglist_closed_common 205 | function_arglist_nonbackup 206 function_arglist_closed_common: function_arglist_bare 207 | "scheme?" function_arglist_optional embedded_scm_arg_closed 208 | "scheme?" function_arglist_closed_optional bare_number 209 | "scheme?" function_arglist_closed_optional '-' UNSIGNED 210 | "scheme?" function_arglist_closed_optional '-' REAL 211 | "scheme?" function_arglist_closed_optional '-' NUMBER_IDENTIFIER 212 | "scheme?" function_arglist_closed_optional post_event_nofinger 213 | "scheme?" function_arglist_closed_optional fraction 214 | "scheme?" function_arglist_optional lyric_element 215 function_arglist_optional: function_arglist_keep 216 | function_arglist_backup "(backed-up?)" 217 | "optional?" "ly:pitch?" function_arglist_optional 218 | "optional?" "ly:duration?" function_arglist_optional 219 function_arglist_closed_optional: function_arglist_closed_keep 220 | function_arglist_backup "(backed-up?)" 221 | "optional?" "ly:pitch?" function_arglist_closed_optional 222 | "optional?" "ly:duration?" function_arglist_closed_optional 223 embedded_scm_closed: embedded_scm_bare 224 | scm_function_call_closed 225 embedded_scm_arg_closed: embedded_scm_bare_arg 226 | scm_function_call_closed 227 | closed_music 228 scm_function_call_closed: SCM_FUNCTION function_arglist_closed 229 function_arglist_bare: EXPECT_NO_MORE_ARGS 230 | "ly:pitch?" function_arglist_optional pitch_also_in_chords 231 | "ly:duration?" function_arglist_closed_optional duration_length 232 | "optional?" "ly:pitch?" function_arglist_skip "\default" 233 | "optional?" "ly:duration?" function_arglist_skip "\default" 234 | "optional?" "scheme?" function_arglist_skip "\default" 235 music_function_call: MUSIC_FUNCTION function_arglist 236 optional_id: /* empty */ 237 | '=' simple_string 238 complex_music: music_function_call 239 | repeated_music 240 | re_rhythmed_music 241 | complex_music_prefix music 242 complex_music_prefix: "\context" simple_string optional_id optional_context_mod 243 | "\new" simple_string optional_id optional_context_mod 244 mode_changed_music: mode_changing_head grouped_music_list 245 | mode_changing_head_with_context optional_context_mod grouped_music_list 246 mode_changing_head: "\notemode" 247 | "\drummode" 248 | "\figuremode" 249 | "\chordmode" 250 | "\lyricmode" 251 mode_changing_head_with_context: "\drums" 252 | "\figures" 253 | "\chords" 254 | "\lyrics" 256 new_lyrics: "\addlyrics" $ composite_music 258 new_lyrics: new_lyrics "\addlyrics" $ composite_music 259 re_rhythmed_music: composite_music new_lyrics 261 re_rhythmed_music: "\lyricsto" simple_string $ music 262 context_change: "\change" STRING '=' STRING 263 property_path_revved: embedded_scm_closed 264 | property_path_revved embedded_scm_closed 265 property_path: property_path_revved 266 property_operation: STRING '=' scalar 267 | "\unset" simple_string 268 | "\override" simple_string property_path '=' scalar 269 | "\revert" simple_string embedded_scm 270 context_def_mod: "\consists" 271 | "\remove" 272 | "\accepts" 273 | "\defaultchild" 274 | "\denies" 275 | "\alias" 276 | "\type" 277 | "\description" 278 | "\name" 279 context_mod: property_operation 280 | context_def_mod STRING 281 | context_def_mod embedded_scm 282 context_prop_spec: simple_string 283 | simple_string '.' simple_string 284 simple_music_property_def: "\override" context_prop_spec property_path '=' scalar 285 | "\revert" context_prop_spec embedded_scm 286 | "\set" context_prop_spec '=' scalar 287 | "\unset" context_prop_spec 288 music_property_def: simple_music_property_def 289 string: STRING 290 | STRING_IDENTIFIER 291 | string '+' string 292 simple_string: STRING 293 | LYRICS_STRING 294 | STRING_IDENTIFIER 295 scalar: embedded_scm_arg 296 | bare_number 297 | lyric_element 298 scalar_closed: embedded_scm_arg_closed 299 | bare_number 300 | lyric_element 301 event_chord: simple_element post_events 302 | simple_chord_elements post_events 303 | CHORD_REPETITION optional_notemode_duration post_events 304 | MULTI_MEASURE_REST optional_notemode_duration post_events 305 | command_element 306 | note_chord_element 307 note_chord_element: chord_body optional_notemode_duration post_events 308 chord_body: "<" chord_body_elements ">" 309 chord_body_elements: /* empty */ 310 | chord_body_elements chord_body_element 311 chord_body_element: pitch exclamations questions octave_check post_events 312 | DRUM_PITCH post_events 313 | music_function_chord_body 314 music_function_chord_body: music_function_call 315 | MUSIC_IDENTIFIER 316 music_function_event: MUSIC_FUNCTION function_arglist_closed 317 event_function_event: EVENT_FUNCTION function_arglist_closed 318 command_element: command_event 319 | "\[" 320 | "\]" 321 | "\" 322 | '|' 323 command_event: "\~" 324 | tempo_event 325 post_events: /* empty */ 326 | post_events post_event 327 post_event_nofinger: direction_less_event 328 | script_dir music_function_event 329 | "--" 330 | "__" 331 | script_dir direction_reqd_event 332 | script_dir direction_less_event 333 | string_number_event 334 | '^' fingering 335 | '_' fingering 336 post_event: post_event_nofinger 337 | '-' fingering 338 string_number_event: E_UNSIGNED 339 direction_less_char: '[' 340 | ']' 341 | '~' 342 | '(' 343 | ')' 344 | "\!" 345 | "\(" 346 | "\)" 347 | "\>" 348 | "\<" 349 direction_less_event: direction_less_char 350 | EVENT_IDENTIFIER 351 | tremolo_type 352 | event_function_event 353 direction_reqd_event: gen_text_def 354 | script_abbreviation 355 octave_check: /* empty */ 356 | '=' 357 | '=' sub_quotes 358 | '=' sup_quotes 359 sup_quotes: '\'' 360 | sup_quotes '\'' 361 sub_quotes: ',' 362 | sub_quotes ',' 363 steno_pitch: NOTENAME_PITCH 364 | NOTENAME_PITCH sup_quotes 365 | NOTENAME_PITCH sub_quotes 366 steno_tonic_pitch: TONICNAME_PITCH 367 | TONICNAME_PITCH sup_quotes 368 | TONICNAME_PITCH sub_quotes 369 pitch: steno_pitch 370 | PITCH_IDENTIFIER 371 pitch_also_in_chords: pitch 372 | steno_tonic_pitch 373 gen_text_def: full_markup 374 | simple_string 375 fingering: UNSIGNED 376 script_abbreviation: '^' 377 | '+' 378 | '-' 379 | '|' 380 | ">" 381 | '.' 382 | '_' 383 script_dir: '_' 384 | '^' 385 | '-' 386 duration_length: multiplied_duration 387 maybe_notemode_duration: /* empty */ 388 | multiplied_duration 389 optional_notemode_duration: maybe_notemode_duration 390 steno_duration: bare_unsigned dots 391 | DURATION_IDENTIFIER dots 392 multiplied_duration: steno_duration 393 | multiplied_duration '*' bare_unsigned 394 | multiplied_duration '*' FRACTION 395 fraction: FRACTION 396 | UNSIGNED '/' UNSIGNED 397 dots: /* empty */ 398 | dots '.' 399 tremolo_type: ':' 400 | ':' bare_unsigned 401 bass_number: UNSIGNED 402 | STRING 403 | full_markup 404 figured_bass_alteration: '-' 405 | '+' 406 | '!' 407 bass_figure: "_" 408 | bass_number 409 | bass_figure ']' 410 | bass_figure figured_bass_alteration 411 | bass_figure figured_bass_modification 412 figured_bass_modification: "\+" 413 | "\!" 414 | '/' 415 | "\" 416 br_bass_figure: bass_figure 417 | '[' bass_figure 418 figure_list: /* empty */ 419 | figure_list br_bass_figure 420 figure_spec: FIGURE_OPEN figure_list FIGURE_CLOSE 421 optional_rest: /* empty */ 422 | "\rest" 423 simple_element: pitch exclamations questions octave_check maybe_notemode_duration optional_rest 424 | DRUM_PITCH optional_notemode_duration 425 | RESTNAME optional_notemode_duration 426 simple_chord_elements: new_chord 427 | figure_spec optional_notemode_duration 428 lyric_element: lyric_markup 429 | LYRICS_STRING 430 lyric_element_arg: lyric_element 431 | lyric_element multiplied_duration post_events 432 | lyric_element post_event post_events 433 | LYRIC_ELEMENT optional_notemode_duration post_events 434 lyric_element_music: lyric_element optional_notemode_duration post_events 435 new_chord: steno_tonic_pitch optional_notemode_duration 436 | steno_tonic_pitch optional_notemode_duration chord_separator chord_items 437 chord_items: /* empty */ 438 | chord_items chord_item 439 chord_separator: ":" 440 | "^" 441 | "/" steno_tonic_pitch 442 | "/+" steno_tonic_pitch 443 chord_item: chord_separator 444 | step_numbers 445 | CHORD_MODIFIER 446 step_numbers: step_number 447 | step_numbers '.' step_number 448 step_number: bare_unsigned 449 | bare_unsigned '+' 450 | bare_unsigned "-" 451 tempo_range: bare_unsigned 452 | bare_unsigned '~' bare_unsigned 453 number_expression: number_expression '+' number_term 454 | number_expression '-' number_term 455 | number_term 456 number_term: number_factor 457 | number_factor '*' number_factor 458 | number_factor '/' number_factor 459 number_factor: '-' number_factor 460 | bare_number 461 bare_number: bare_number_closed 462 | UNSIGNED NUMBER_IDENTIFIER 463 | REAL NUMBER_IDENTIFIER 464 bare_number_closed: UNSIGNED 465 | REAL 466 | NUMBER_IDENTIFIER 467 bare_unsigned: UNSIGNED 468 unsigned_number: UNSIGNED 469 | NUMBER_IDENTIFIER 470 exclamations: /* empty */ 471 | exclamations '!' 472 questions: /* empty */ 473 | questions '?' 474 lyric_markup: LYRIC_MARKUP_IDENTIFIER 476 lyric_markup: LYRIC_MARKUP $ markup_top 477 full_markup_list: MARKUPLIST_IDENTIFIER 479 full_markup_list: "\markuplist" $ markup_list 480 full_markup: MARKUP_IDENTIFIER 482 full_markup: "\markup" $ markup_top 483 markup_top: markup_list 484 | markup_head_1_list simple_markup 485 | simple_markup 487 markup_scm: embedded_scm_bare $ "(backed-up?)" 488 markup_list: MARKUPLIST_IDENTIFIER 489 | markup_composed_list 490 | markup_braced_list 491 | markup_command_list 492 | markup_scm MARKUPLIST_IDENTIFIER 493 markup_composed_list: markup_head_1_list markup_braced_list 494 markup_braced_list: '{' markup_braced_list_body '}' 495 markup_braced_list_body: /* empty */ 496 | markup_braced_list_body markup 497 | markup_braced_list_body markup_list 498 markup_command_list: MARKUP_LIST_FUNCTION markup_command_list_arguments 499 markup_command_basic_arguments: "markup-list?" markup_command_list_arguments markup_list 500 | "scheme?" markup_command_list_arguments embedded_scm_closed 501 | EXPECT_NO_MORE_ARGS 502 markup_command_list_arguments: markup_command_basic_arguments 503 | "markup?" markup_command_list_arguments markup 504 markup_head_1_item: MARKUP_FUNCTION "markup?" markup_command_list_arguments 505 markup_head_1_list: markup_head_1_item 506 | markup_head_1_list markup_head_1_item 507 simple_markup: STRING 508 | MARKUP_IDENTIFIER 509 | LYRIC_MARKUP_IDENTIFIER 510 | STRING_IDENTIFIER 512 simple_markup: "\score" $0 '{' score_body '}' 513 | MARKUP_FUNCTION markup_command_basic_arguments 514 | markup_scm MARKUP_IDENTIFIER 515 markup: markup_head_1_list simple_markup 516 | simple_markup Terminals, with rules where they appear 174 175 176 177 178 179 180 181 182 183 184 185 217 218 221 222 178 179 180 181 182 185 192 193 194 195 198 200 201 202 207 208 209 210 211 212 213 214 234 500 232 233 234 404 454 459 "#{" (352) 3 "(backed-up?)" (347) 185 216 220 487 "(reparsed?)" (348) 186 187 188 199 203 "-" (317) 450 "--" (338) 329 "/" (318) 441 "/+" (314) 442 ":" (316) 439 "<" (319) 308 "<<" (321) 132 ">" (320) 308 380 ">>" (322) 132 "\!" (327) 344 413 "\" (323) 321 415 "\(" (329) 345 "\)" (326) 346 "\+" (332) 412 "\<" (331) 348 "\>" (324) 347 "\[" (328) 319 "\]" (330) 320 "\accepts" (273) 272 "\addlyrics" (262) 256 258 "\alias" (274) 275 "\alternative" (260) 128 "\book" (275) 71 "\bookpart" (276) 83 "\C[haracter]" (325) "\change" (277) 262 "\chordmode" (278) 249 "\chords" (279) 253 "\consists" (280) 270 "\context" (281) 62 242 "\default" (263) 232 233 234 "\defaultchild" (282) 273 "\denies" (283) 274 "\description" (284) 277 "\drummode" (285) 247 "\drums" (286) 251 "\figuremode" (287) 248 "\figures" (288) 252 "\header" (289) 43 "\layout" (291) 104 "\lyricmode" (292) 250 "\lyrics" (293) 254 "\lyricsto" (294) 261 "\markup" (295) 482 "\markuplist" (296) 479 "\midi" (297) 103 "\name" (298) 278 "\new" (313) 243 "\notemode" (299) 246 "\override" (300) 268 284 "\paper" (301) 102 "\remove" (302) 271 "\repeat" (259) 127 128 "\rest" (303) 422 "\revert" (304) 269 285 "\score" (305) 94 512 "\sequential" (306) 129 "\set" (307) 286 "\simultaneous" (308) 131 "\tempo" (309) 112 113 114 "\type" (310) 276 "\unset" (311) 267 287 "\version-error" (290) 8 40 "\with" (312) 137 138 140 "\~" (333) 323 "^" (315) 440 "_" (337) 407 "__" (334) 330 "ly:duration?" (345) 158 161 184 218 222 231 233 "ly:pitch?" (344) 157 160 183 217 221 230 232 "markup-list?" (349) 499 "markup?" (343) 503 504 "optional?" (350) 157 158 159 160 161 162 163 164 165 166 167 168 173 "scheme?" (346) 159 162 163 164 165 166 167 168 173 174 175 176 177 $end (0) 0 '!' (33) 406 471 '(' (40) 342 ')' (41) 343 '*' (42) 393 394 457 '+' (43) 291 377 405 449 453 ',' (44) 361 362 '-' (45) 166 167 168 180 181 182 200 201 202 209 210 211 337 378 385 '.' (46) 283 381 398 447 '/' (47) 396 414 458 ':' (58) 399 400 '=' (61) 46 47 112 113 237 262 266 268 284 286 356 357 358 '?' (63) 473 '[' (91) 339 417 '\'' (39) 359 360 ']' (93) 340 409 '^' (94) 334 376 384 '_' (95) 335 382 383 '{' (123) 43 62 71 83 94 106 107 119 137 494 512 '|' (124) 322 379 '}' (125) 43 62 71 83 94 101 119 137 494 512 '~' (126) 341 452 BOOK_IDENTIFIER (353) 73 85 CHORD_MODIFIER (355) 445 CHORD_REPETITION (356) 303 CHORDMODIFIER_PITCH (354) CHORDMODIFIERS (339) COMPOSITE (261) CONTEXT_DEF_IDENTIFIER (357) 67 CONTEXT_MOD_IDENTIFIER (358) 138 139 145 DRUM_PITCH (359) 312 424 DURATION_IDENTIFIER (265) 391 E_UNSIGNED (342) 338 error (256) 7 39 82 93 99 111 118 EVENT_FUNCTION (361) 317 EVENT_IDENTIFIER (360) 350 EXPECT_NO_MORE_ARGS (351) 229 501 FIGURE_CLOSE (335) 420 FIGURE_OPEN (336) 420 FRACTION (362) 164 179 394 395 FUNCTION_ARGLIST (264) LYRIC_ELEMENT (364) 433 LYRIC_MARKUP (340) 476 LYRIC_MARKUP_IDENTIFIER (365) 474 509 LYRICS_STRING (363) 45 293 429 MARKUP_FUNCTION (366) 504 513 MARKUP_IDENTIFIER (368) 480 508 514 MARKUP_LIST_FUNCTION (367) 498 MARKUPLIST_IDENTIFIER (369) 477 488 492 MULTI_MEASURE_REST (341) 304 MUSIC_FUNCTION (370) 235 316 MUSIC_IDENTIFIER (371) 152 315 NOTENAME_PITCH (269) 363 364 365 NUMBER_IDENTIFIER (271) 168 178 182 202 211 462 463 466 469 OUTPUT_DEF_IDENTIFIER (372) 107 PITCH_IDENTIFIER (270) 370 PREC_BOT (258) PREC_TOP (272) REAL (266) 167 177 181 201 210 463 465 RESTNAME (373) 425 SCM_FUNCTION (374) 35 228 SCM_IDENTIFIER (375) 18 SCM_TOKEN (376) 17 SCORE_IDENTIFIER (377) 96 STRING (378) 20 44 262 266 280 289 292 402 507 STRING_IDENTIFIER (379) 21 290 294 510 TONICNAME_PITCH (268) 366 367 368 UNARY_MINUS (380) UNSIGNED (267) 166 176 180 200 209 375 396 401 462 464 467 468 Nonterminals, with rules where they appear $@1 (149) on left: 2, on right: 3 $@10 (322) on left: 511, on right: 512 $@2 (189) on left: 136, on right: 137 $@3 (221) on left: 255, on right: 256 $@4 (222) on left: 257, on right: 258 $@5 (224) on left: 260, on right: 261 $@6 (304) on left: 475, on right: 476 $@7 (306) on left: 478, on right: 479 $@8 (308) on left: 481, on right: 482 $@9 (311) on left: 486, on right: 487 assignment (161) on left: 46 47 48, on right: 6 42 108 assignment_id (160) on left: 44 45, on right: 46 47 bare_number_closed (298) on left: 464 465 466, on right: 163 461 bass_number (274) on left: 401 402 403, on right: 408 book_block (167) on left: 71, on right: 10 27 50 bookpart_block (169) on left: 83, on right: 11 28 51 75 br_bass_figure (278) on left: 416 417, on right: 419 braced_music_list (180) on left: 119, on right: 128 129 130 131 chord_body (240) on left: 308, on right: 307 chord_body_element (242) on left: 311 312 313, on right: 310 chord_body_elements (241) on left: 309 310, on right: 308 310 chord_item (290) on left: 443 444 445, on right: 438 chord_items (288) on left: 437 438, on right: 436 438 chord_separator (289) on left: 439 440 441 442, on right: 436 443 closed_music (193) on left: 149 150, on right: 150 227 command_element (246) on left: 318 319 320 321 322, on right: 305 command_event (247) on left: 323 324, on right: 318 complex_music (215) on left: 238 239 240 241, on right: 147 complex_music_prefix (216) on left: 242 243, on right: 150 241 context_change (225) on left: 262, on right: 135 context_def_spec_block (163) on left: 62, on right: 26 53 109 context_mod (230) on left: 279 280 281, on right: 68 144 context_mod_arg (164) on left: 63 64, on right: 65 context_mod_embedded (165) on left: 65, on right: 70 146 context_prop_spec (231) on left: 282 283, on right: 284 285 286 287 direction_less_event (253) on left: 349 350 351 352, on right: 327 332 direction_reqd_event (254) on left: 353 354, on right: 331 dots (272) on left: 397 398, on right: 390 391 398 duration_length (266) on left: 386, on right: 161 184 231 embedded_lilypond (157) on left: 36 37 38 39 40, on right: 3 40 embedded_scm_arg (155) on left: 32 33 34, on right: 192 295 embedded_scm_bare (152) on left: 17 18, on right: 19 30 223 487 embedded_scm_closed (209) on left: 223 224, on right: 140 263 264 500 event_chord (238) on left: 301 302 303 304 305 306, on right: 133 event_function_event (245) on left: 317, on right: 352 exclamations (301) on left: 470 471, on right: 311 423 471 figure_list (279) on left: 418 419, on right: 419 420 figure_spec (280) on left: 420, on right: 427 figured_bass_alteration (275) on left: 404 405 406, on right: 410 figured_bass_modification (277) on left: 412 413 414 415, on right: 411 fingering (263) on left: 375, on right: 334 335 337 fraction (271) on left: 395 396, on right: 188 194 213 full_markup (307) on left: 480 482, on right: 14 22 59 78 89 373 403 full_markup_list (305) on left: 477 479, on right: 15 23 60 79 90 function_arglist (201) on left: 189 190, on right: 35 160 162 235 function_arglist_common_lyric (203) on left: 198 199, on right: 197 199 function_arglist_keep (198) on left: 169 170, on right: 173 175 183 215 gen_text_def (262) on left: 373 374, on right: 353 grouped_music_list (195) on left: 154 155, on right: 153 244 245 lilypond (150) on left: 4 5 6 7 8, on right: 1 5 6 7 8 lilypond_header (159) on left: 43, on right: 9 80 91 97 lilypond_header_body (158) on left: 41 42, on right: 42 43 lyric_element_arg (285) on left: 430 431 432 433, on right: 199 lyric_element_music (286) on left: 434, on right: 121 126 lyric_markup (303) on left: 474 476, on right: 428 markup (323) on left: 515 516, on right: 496 503 markup_braced_list (314) on left: 494, on right: 490 493 markup_braced_list_body (315) on left: 495 496 497, on right: 494 496 497 markup_command_list (316) on left: 498, on right: 491 markup_composed_list (313) on left: 493, on right: 489 markup_head_1_item (319) on left: 504, on right: 505 506 markup_head_1_list (320) on left: 505 506, on right: 484 493 506 515 markup_list (312) on left: 488 489 490 491 492, on right: 479 483 497 499 markup_scm (310) on left: 487, on right: 492 514 markup_top (309) on left: 483 484 485, on right: 476 482 maybe_notemode_duration (267) on left: 387 388, on right: 389 423 mode_changed_music (217) on left: 244 245, on right: 151 mode_changing_head (218) on left: 246 247 248 249 250, on right: 244 music (181) on left: 120 121, on right: 38 95 116 127 128 241 261 music_arg (182) on left: 122 123, on right: 34 110 120 music_assign (183) on left: 124 125 126, on right: 54 music_bare (194) on left: 151 152 153, on right: 148 149 music_function_call (213) on left: 235, on right: 238 314 music_function_chord_body (243) on left: 314 315, on right: 313 music_function_event (244) on left: 316, on right: 328 music_property_def (233) on left: 288, on right: 134 new_chord (287) on left: 435 436, on right: 426 new_lyrics (220) on left: 256 258, on right: 258 259 note_chord_element (239) on left: 307, on right: 306 number_expression (294) on left: 453 454 455, on right: 56 453 454 number_factor (296) on left: 459 460, on right: 456 457 458 459 number_term (295) on left: 456 457 458, on right: 453 454 455 octave_check (255) on left: 355 356 357 358, on right: 311 423 optional_context_mod (190) on left: 141 142, on right: 242 243 245 optional_id (214) on left: 236 237, on right: 242 243 optional_rest (281) on left: 421 422, on right: 423 output_def (174) on left: 101, on right: 16 29 52 98 100 output_def_head (175) on left: 102 103 104, on right: 105 output_def_head_with_mode_switch (176) on left: 105, on right: 106 107 paper_block (173) on left: 100, on right: 74 86 pitch (260) on left: 369 370, on right: 311 371 423 pitch_also_in_chords (261) on left: 371 372, on right: 160 183 230 post_event (250) on left: 336 337, on right: 326 432 property_operation (228) on left: 266 267 268 269, on right: 279 property_path (227) on left: 265, on right: 47 268 284 property_path_revved (226) on left: 263 264, on right: 264 265 questions (302) on left: 472 473, on right: 311 423 473 re_rhythmed_music (223) on left: 259 261, on right: 240 repeated_music (184) on left: 127 128, on right: 239 scalar (236) on left: 295 296 297, on right: 114 266 268 284 286 scalar_closed (237) on left: 298 299 300, on right: 113 scm_function_call (156) on left: 35, on right: 31 33 scm_function_call_closed (211) on left: 228, on right: 224 226 score_block (171) on left: 94, on right: 12 25 49 76 87 score_body (172) on left: 95 96 97 98 99, on right: 94 97 98 99 512 script_dir (265) on left: 383 384 385, on right: 328 331 332 sequential_music (185) on left: 129 130, on right: 155 simple_chord_elements (283) on left: 426 427, on right: 302 simple_element (282) on left: 423 424 425, on right: 301 simple_music (187) on left: 133 134 135, on right: 122 124 simple_music_property_def (232) on left: 284 285 286 287, on right: 288 simultaneous_music (186) on left: 131 132, on right: 154 start_symbol (148) on left: 1 3, on right: 0 steno_duration (269) on left: 390 391, on right: 112 113 392 steno_pitch (258) on left: 363 364 365, on right: 369 step_number (292) on left: 448 449 450, on right: 446 447 step_numbers (291) on left: 446 447, on right: 444 447 string (234) on left: 289 290 291, on right: 57 291 string_number_event (251) on left: 338, on right: 333 sub_quotes (257) on left: 361 362, on right: 357 362 365 368 sup_quotes (256) on left: 359 360, on right: 358 360 364 367 tempo_event (178) on left: 112 113 114, on right: 324 tempo_range (293) on left: 451 452, on right: 112 113 toplevel_expression (151) on left: 9 10 11 12 13 14 15 16, on right: 5 tremolo_type (273) on left: 399 400, on right: 351 unsigned_number (300) on left: 468 469, on right: 127 128