C. LilyPond 文法

この付録は、構文解析プログラムからの出力である、LilyPond 文法についての記述です。

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
   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_def_spec_body: /* empty */
   64                      | CONTEXT_DEF_IDENTIFIER
   65                      | context_def_spec_body embedded_scm
   66                      | context_def_spec_body context_mod
   67                      | context_def_spec_body context_modification

   68 book_block: "\book" '{' book_body '}'

   69 book_body: /* empty */
   70          | BOOK_IDENTIFIER
   71          | book_body paper_block
   72          | book_body bookpart_block
   73          | book_body score_block
   74          | book_body composite_music
   75          | book_body full_markup
   76          | book_body full_markup_list
   77          | book_body lilypond_header
   78          | book_body embedded_scm
   79          | book_body error

   80 bookpart_block: "\bookpart" '{' bookpart_body '}'

   81 bookpart_body: /* empty */
   82              | BOOK_IDENTIFIER
   83              | bookpart_body paper_block
   84              | bookpart_body score_block
   85              | bookpart_body composite_music
   86              | bookpart_body full_markup
   87              | bookpart_body full_markup_list
   88              | bookpart_body lilypond_header
   89              | bookpart_body embedded_scm
   90              | bookpart_body error

   91 score_block: "\score" '{' score_body '}'

   92 score_body: music
   93           | SCORE_IDENTIFIER
   94           | score_body lilypond_header
   95           | score_body output_def
   96           | score_body error

   97 paper_block: output_def

   98 output_def: output_def_body '}'

   99 output_def_head: "\paper"
  100                | "\midi"
  101                | "\layout"

  102 output_def_head_with_mode_switch: output_def_head

  103 output_def_body: output_def_head_with_mode_switch '{'
  104                | output_def_head_with_mode_switch 
                         '{' 
                         OUTPUT_DEF_IDENTIFIER 
  105                | output_def_body assignment
  106                | output_def_body context_def_spec_block
  107                | output_def_body error

  108 tempo_event: "\tempo" steno_duration '=' tempo_range
  109            | "\tempo" scalar_closed steno_duration '=' tempo_range
  110            | "\tempo" scalar

  111 music_list: /* empty */
  112           | music_list music
  113           | music_list embedded_scm
  114           | music_list error

  115 braced_music_list: '{' music_list '}'

  116 music: simple_music
  117      | lyric_element_music
  118      | composite_music

  119 music_arg: simple_music
  120          | composite_music

  121 repeated_music: "\repeat" simple_string unsigned_number music
  122               | "\repeat" 
                        simple_string 
                        unsigned_number 
                        music 
                        "\alternative" 
                        braced_music_list 

  123 sequential_music: "\sequential" braced_music_list
  124                 | braced_music_list

  125 simultaneous_music: "\simultaneous" braced_music_list
  126                   | "<<" music_list ">>"

  127 simple_music: event_chord
  128             | music_property_def
  129             | context_change

  131 context_modification: "\with"  '{' context_mod_list '}'
  132                     | "\with" CONTEXT_MOD_IDENTIFIER
  133                     | CONTEXT_MOD_IDENTIFIER
  134                     | "\with" embedded_scm_closed

  135 optional_context_mod: /* empty */
  136                     | context_modification

  137 context_mod_list: /* empty */
  138                 | context_mod_list context_mod
  139                 | context_mod_list CONTEXT_MOD_IDENTIFIER
  140                 | context_mod_list embedded_scm

  141 composite_music: complex_music
  142                | music_bare

  143 closed_music: music_bare
  144             | complex_music_prefix closed_music

  145 music_bare: mode_changed_music
  146           | MUSIC_IDENTIFIER
  147           | grouped_music_list

  148 grouped_music_list: simultaneous_music
  149                   | sequential_music

  150 function_arglist_skip: function_arglist_common
  151                      | "optional?" "ly:pitch?" function_arglist_skip
  152                      | "optional?" "ly:duration?" function_arglist_skip
  153                      | "optional?" "scheme?" function_arglist_skip

  154 function_arglist_nonbackup: "optional?" 
                                    "ly:pitch?" 
                                    function_arglist 
                                    pitch_also_in_chords 
  155                           | "optional?" 
                                    "ly:duration?" 
                                    function_arglist_closed 
                                    duration_length 
  156                           | "optional?" 
                                    "scheme?" 
                                    function_arglist 
                                    embedded_scm_arg_closed 
  157                           | "optional?" 
                                    "scheme?" 
                                    function_arglist_closed 
                                    bare_number_closed 
  158                           | "optional?" 
                                    "scheme?" 
                                    function_arglist_closed 
                                    FRACTION 
  159                           | "optional?" 
                                    "scheme?" 
                                    function_arglist_closed 
                                    post_event_nofinger 
  160                           | "optional?" 
                                    "scheme?" 
                                    function_arglist_closed 
                                    '-' 
                                    UNSIGNED 
  161                           | "optional?" 
                                    "scheme?" 
                                    function_arglist_closed 
                                    '-' 
                                    REAL 
  162                           | "optional?" 
                                    "scheme?" 
                                    function_arglist_closed 
                                    '-' 
                                    NUMBER_IDENTIFIER 

  163 function_arglist_keep: function_arglist_common
  164                      | function_arglist_backup

  165 function_arglist_closed_keep: function_arglist_closed_common
  166                             | function_arglist_backup

  167 function_arglist_backup: "optional?" 
                                 "scheme?" 
                                 function_arglist_keep 
                                 embedded_scm_arg_closed 
  168                        | "optional?" 
                                 "scheme?" 
                                 function_arglist_closed_keep 
                                 post_event_nofinger 
  169                        | "optional?" 
                                 "scheme?" 
                                 function_arglist_keep 
                                 lyric_element 
  170                        | "optional?" 
                                 "scheme?" 
                                 function_arglist_closed_keep 
                                 UNSIGNED 
  171                        | "optional?" 
                                 "scheme?" 
                                 function_arglist_closed_keep 
                                 REAL 
  172                        | "optional?" 
                                 "scheme?" 
                                 function_arglist_closed_keep 
                                 NUMBER_IDENTIFIER 
  173                        | "optional?" 
                                 "scheme?" 
                                 function_arglist_closed_keep 
                                 FRACTION 
  174                        | "optional?" 
                                 "scheme?" 
                                 function_arglist_closed_keep 
                                 '-' 
                                 UNSIGNED 
  175                        | "optional?" 
                                 "scheme?" 
                                 function_arglist_closed_keep 
                                 '-' 
                                 REAL 
  176                        | "optional?" 
                                 "scheme?" 
                                 function_arglist_closed_keep 
                                 '-' 
                                 NUMBER_IDENTIFIER 
  177                        | "optional?" 
                                 "ly:pitch?" 
                                 function_arglist_keep 
                                 pitch_also_in_chords 
  178                        | "optional?" 
                                 "ly:duration?" 
                                 function_arglist_closed_keep 
                                 duration_length 
  179                        | "optional?" 
                                 "scheme?" 
                                 function_arglist_backup 
                                 "(backed-up?)" 
  180                        | function_arglist_backup 
                                 "(reparsed?)" 
                                 embedded_scm_arg_closed 
  181                        | function_arglist_backup 
                                 "(reparsed?)" 
                                 bare_number 
  182                        | function_arglist_backup "(reparsed?)" fraction

  183 function_arglist: function_arglist_common
  184                 | function_arglist_nonbackup

  185 function_arglist_common: function_arglist_bare
  186                        | "scheme?" 
                                 function_arglist_optional 
                                 embedded_scm_arg 
  187                        | "scheme?" 
                                 function_arglist_closed_optional 
                                 bare_number 
  188                        | "scheme?" 
                                 function_arglist_closed_optional 
                                 fraction 
  189                        | "scheme?" 
                                 function_arglist_closed_optional 
                                 post_event_nofinger 
  190                        | function_arglist_common_minus
  191                        | function_arglist_common_lyric

  192 function_arglist_common_lyric: "scheme?" 
                                       function_arglist_optional 
                                       lyric_element 
  193                              | function_arglist_common_lyric 
                                       "(reparsed?)" 
                                       lyric_element_arg 

  194 function_arglist_common_minus: "scheme?" 
                                       function_arglist_closed_optional 
                                       '-' 
                                       UNSIGNED 
  195                              | "scheme?" 
                                       function_arglist_closed_optional 
                                       '-' 
                                       REAL 
  196                              | "scheme?" 
                                       function_arglist_closed_optional 
                                       '-' 
                                       NUMBER_IDENTIFIER 
  197                              | function_arglist_common_minus 
                                       "(reparsed?)" 
                                       bare_number 

  198 function_arglist_closed: function_arglist_closed_common
  199                        | function_arglist_nonbackup

  200 function_arglist_closed_common: function_arglist_bare
  201                               | "scheme?" 
                                        function_arglist_optional 
                                        embedded_scm_arg_closed 
  202                               | "scheme?" 
                                        function_arglist_closed_optional 
                                        bare_number 
  203                               | "scheme?" 
                                        function_arglist_closed_optional 
                                        '-' 
                                        UNSIGNED 
  204                               | "scheme?" 
                                        function_arglist_closed_optional 
                                        '-' 
                                        REAL 
  205                               | "scheme?" 
                                        function_arglist_closed_optional 
                                        '-' 
                                        NUMBER_IDENTIFIER 
  206                               | "scheme?" 
                                        function_arglist_closed_optional 
                                        post_event_nofinger 
  207                               | "scheme?" 
                                        function_arglist_closed_optional 
                                        fraction 
  208                               | "scheme?" 
                                        function_arglist_optional 
                                        lyric_element 

  209 function_arglist_optional: function_arglist_keep
  210                          | function_arglist_backup "(backed-up?)"
  211                          | "optional?" 
                                   "ly:pitch?" 
                                   function_arglist_optional 
  212                          | "optional?" 
                                   "ly:duration?" 
                                   function_arglist_optional 

  213 function_arglist_closed_optional: function_arglist_closed_keep
  214                                 | function_arglist_backup 
                                          "(backed-up?)" 
  215                                 | "optional?" 
                                          "ly:pitch?" 
                                          function_arglist_closed_optional 
  216                                 | "optional?" 
                                          "ly:duration?" 
                                          function_arglist_closed_optional 

  217 embedded_scm_closed: embedded_scm_bare
  218                    | scm_function_call_closed

  219 embedded_scm_arg_closed: embedded_scm_bare_arg
  220                        | scm_function_call_closed
  221                        | closed_music

  222 scm_function_call_closed: SCM_FUNCTION function_arglist_closed

  223 function_arglist_bare: EXPECT_NO_MORE_ARGS
  224                      | "ly:pitch?" 
                               function_arglist_optional 
                               pitch_also_in_chords 
  225                      | "ly:duration?" 
                               function_arglist_closed_optional 
                               duration_length 
  226                      | "optional?" 
                               "ly:pitch?" 
                               function_arglist_skip 
                               "\default" 
  227                      | "optional?" 
                               "ly:duration?" 
                               function_arglist_skip 
                               "\default" 
  228                      | "optional?" 
                               "scheme?" 
                               function_arglist_skip 
                               "\default" 

  229 music_function_call: MUSIC_FUNCTION function_arglist

  230 optional_id: /* empty */
  231            | '=' simple_string

  232 complex_music: music_function_call
  233              | repeated_music
  234              | re_rhythmed_music
  235              | complex_music_prefix music

  236 complex_music_prefix: "\context" 
                              simple_string 
                              optional_id 
                              optional_context_mod 
  237                     | "\new" 
                              simple_string 
                              optional_id 
                              optional_context_mod 

  238 mode_changed_music: mode_changing_head grouped_music_list
  239                   | mode_changing_head_with_context 
                            optional_context_mod 
                            grouped_music_list 

  240 mode_changing_head: "\notemode"
  241                   | "\drummode"
  242                   | "\figuremode"
  243                   | "\chordmode"
  244                   | "\lyricmode"

  245 mode_changing_head_with_context: "\drums"
  246                                | "\figures"
  247                                | "\chords"
  248                                | "\lyrics"

  250 new_lyrics: "\addlyrics"  composite_music

  252 new_lyrics: new_lyrics "\addlyrics"  composite_music

  253 re_rhythmed_music: composite_music new_lyrics

  255 re_rhythmed_music: "\lyricsto" simple_string  music

  256 context_change: "\change" STRING '=' STRING

  257 property_path_revved: embedded_scm_closed
  258                     | property_path_revved embedded_scm_closed

  259 property_path: property_path_revved

  260 property_operation: STRING '=' scalar
  261                   | "\unset" simple_string
  262                   | "\override" simple_string property_path '=' scalar
  263                   | "\revert" simple_string embedded_scm

  264 context_def_mod: "\consists"
  265                | "\remove"
  266                | "\accepts"
  267                | "\defaultchild"
  268                | "\denies"
  269                | "\alias"
  270                | "\type"
  271                | "\description"
  272                | "\name"

  273 context_mod: property_operation
  274            | context_def_mod STRING
  275            | context_def_mod embedded_scm

  276 context_prop_spec: simple_string
  277                  | simple_string '.' simple_string

  278 simple_music_property_def: "\override" 
                                   context_prop_spec 
                                   property_path 
                                   '=' 
                                   scalar 
  279                          | "\revert" context_prop_spec embedded_scm
  280                          | "\set" context_prop_spec '=' scalar
  281                          | "\unset" context_prop_spec

  282 music_property_def: simple_music_property_def

  283 string: STRING
  284       | STRING_IDENTIFIER
  285       | string '+' string

  286 simple_string: STRING
  287              | LYRICS_STRING
  288              | STRING_IDENTIFIER

  289 scalar: embedded_scm_arg
  290       | bare_number
  291       | lyric_element

  292 scalar_closed: embedded_scm_arg_closed
  293              | bare_number
  294              | lyric_element

  295 event_chord: simple_element post_events
  296            | simple_chord_elements post_events
  297            | CHORD_REPETITION optional_notemode_duration post_events
  298            | MULTI_MEASURE_REST optional_notemode_duration post_events
  299            | command_element
  300            | note_chord_element

  301 note_chord_element: chord_body optional_notemode_duration post_events

  302 chord_body: "<" chord_body_elements ">"

  303 chord_body_elements: /* empty */
  304                    | chord_body_elements chord_body_element

  305 chord_body_element: pitch 
                            exclamations 
                            questions 
                            octave_check 
                            post_events 
  306                   | DRUM_PITCH post_events
  307                   | music_function_chord_body

  308 music_function_chord_body: music_function_call
  309                          | MUSIC_IDENTIFIER

  310 music_function_event: MUSIC_FUNCTION function_arglist_closed

  311 event_function_event: EVENT_FUNCTION function_arglist_closed

  312 command_element: command_event
  313                | "\["
  314                | "\]"
  315                | "\"
  316                | '|'

  317 command_event: "\~"
  318              | tempo_event

  319 post_events: /* empty */
  320            | post_events post_event

  321 post_event_nofinger: direction_less_event
  322                    | script_dir music_function_event
  323                    | "--"
  324                    | "__"
  325                    | script_dir direction_reqd_event
  326                    | script_dir direction_less_event
  327                    | string_number_event
  328                    | '^' fingering
  329                    | '_' fingering

  330 post_event: post_event_nofinger
  331           | '-' fingering

  332 string_number_event: E_UNSIGNED

  333 direction_less_char: '['
  334                    | ']'
  335                    | '~'
  336                    | '('
  337                    | ')'
  338                    | "\!"
  339                    | "\("
  340                    | "\)"
  341                    | "\>"
  342                    | "\<"

  343 direction_less_event: direction_less_char
  344                     | EVENT_IDENTIFIER
  345                     | tremolo_type
  346                     | event_function_event

  347 direction_reqd_event: gen_text_def
  348                     | script_abbreviation

  349 octave_check: /* empty */
  350             | '='
  351             | '=' sub_quotes
  352             | '=' sup_quotes

  353 sup_quotes: '''
  354           | sup_quotes '''

  355 sub_quotes: ','
  356           | sub_quotes ','

  357 steno_pitch: NOTENAME_PITCH
  358            | NOTENAME_PITCH sup_quotes
  359            | NOTENAME_PITCH sub_quotes

  360 steno_tonic_pitch: TONICNAME_PITCH
  361                  | TONICNAME_PITCH sup_quotes
  362                  | TONICNAME_PITCH sub_quotes

  363 pitch: steno_pitch
  364      | PITCH_IDENTIFIER

  365 pitch_also_in_chords: pitch
  366                     | steno_tonic_pitch

  367 gen_text_def: full_markup
  368             | simple_string

  369 fingering: UNSIGNED

  370 script_abbreviation: '^'
  371                    | '+'
  372                    | '-'
  373                    | '|'
  374                    | ">"
  375                    | '.'
  376                    | '_'

  377 script_dir: '_'
  378           | '^'
  379           | '-'

  380 duration_length: multiplied_duration

  381 optional_notemode_duration: /* empty */
  382                           | multiplied_duration

  383 steno_duration: bare_unsigned dots
  384               | DURATION_IDENTIFIER dots

  385 multiplied_duration: steno_duration
  386                    | multiplied_duration '*' bare_unsigned
  387                    | multiplied_duration '*' FRACTION

  388 fraction: FRACTION
  389         | UNSIGNED '/' UNSIGNED

  390 dots: /* empty */
  391     | dots '.'

  392 tremolo_type: ':'
  393             | ':' bare_unsigned

  394 bass_number: UNSIGNED
  395            | STRING
  396            | full_markup

  397 figured_bass_alteration: '-'
  398                        | '+'
  399                        | '!'

  400 bass_figure: "_"
  401            | bass_number
  402            | bass_figure ']'
  403            | bass_figure figured_bass_alteration
  404            | bass_figure figured_bass_modification

  405 figured_bass_modification: "\+"
  406                          | "\!"
  407                          | '/'
  408                          | "\"

  409 br_bass_figure: bass_figure
  410               | '[' bass_figure

  411 figure_list: /* empty */
  412            | figure_list br_bass_figure

  413 figure_spec: FIGURE_OPEN figure_list FIGURE_CLOSE

  414 optional_rest: /* empty */
  415              | "\rest"

  416 simple_element: pitch 
                        exclamations 
                        questions 
                        octave_check 
                        optional_notemode_duration 
                        optional_rest 
  417               | DRUM_PITCH optional_notemode_duration
  418               | RESTNAME optional_notemode_duration

  419 simple_chord_elements: new_chord
  420                      | figure_spec optional_notemode_duration

  421 lyric_element: lyric_markup
  422              | LYRICS_STRING

  423 lyric_element_arg: lyric_element
  424                  | lyric_element multiplied_duration post_events
  425                  | lyric_element post_event post_events
  426                  | LYRIC_ELEMENT optional_notemode_duration post_events

  427 lyric_element_music: lyric_element 
                             optional_notemode_duration 
                             post_events 

  428 new_chord: steno_tonic_pitch optional_notemode_duration
  429          | steno_tonic_pitch 
                   optional_notemode_duration 
                   chord_separator 
                   chord_items 

  430 chord_items: /* empty */
  431            | chord_items chord_item

  432 chord_separator: ":"
  433                | "^"
  434                | "/" steno_tonic_pitch
  435                | "/+" steno_tonic_pitch

  436 chord_item: chord_separator
  437           | step_numbers
  438           | CHORD_MODIFIER

  439 step_numbers: step_number
  440             | step_numbers '.' step_number

  441 step_number: bare_unsigned
  442            | bare_unsigned '+'
  443            | bare_unsigned "-"

  444 tempo_range: bare_unsigned
  445            | bare_unsigned '~' bare_unsigned

  446 number_expression: number_expression '+' number_term
  447                  | number_expression '-' number_term
  448                  | number_term

  449 number_term: number_factor
  450            | number_factor '*' number_factor
  451            | number_factor '/' number_factor

  452 number_factor: '-' number_factor
  453              | bare_number

  454 bare_number: bare_number_closed
  455            | UNSIGNED NUMBER_IDENTIFIER
  456            | REAL NUMBER_IDENTIFIER

  457 bare_number_closed: UNSIGNED
  458                   | REAL
  459                   | NUMBER_IDENTIFIER

  460 bare_unsigned: UNSIGNED

  461 unsigned_number: UNSIGNED
  462                | NUMBER_IDENTIFIER

  463 exclamations: /* empty */
  464             | exclamations '!'

  465 questions: /* empty */
  466          | questions '?'

  467 lyric_markup: LYRIC_MARKUP_IDENTIFIER

  469 lyric_markup: LYRIC_MARKUP  markup_top

  470 full_markup_list: MARKUPLIST_IDENTIFIER

  472 full_markup_list: "\markuplist"  markup_list

  473 full_markup: MARKUP_IDENTIFIER

  475 full_markup: "\markup"  markup_top

  476 markup_top: markup_list
  477           | markup_head_1_list simple_markup
  478           | simple_markup

  480 markup_scm: embedded_scm_bare  "(backed-up?)"

  481 markup_list: MARKUPLIST_IDENTIFIER
  482            | markup_composed_list
  483            | markup_braced_list
  484            | markup_command_list
  485            | markup_scm MARKUPLIST_IDENTIFIER

  486 markup_composed_list: markup_head_1_list markup_braced_list

  487 markup_braced_list: '{' markup_braced_list_body '}'

  488 markup_braced_list_body: /* empty */
  489                        | markup_braced_list_body markup
  490                        | markup_braced_list_body markup_list

  491 markup_command_list: MARKUP_LIST_FUNCTION markup_command_list_arguments

  492 markup_command_basic_arguments: "markup-list?" 
                                        markup_command_list_arguments 
                                        markup_list 
  493                               | "scheme?" 
                                        markup_command_list_arguments 
                                        embedded_scm_closed 
  494                               | EXPECT_NO_MORE_ARGS

  495 markup_command_list_arguments: markup_command_basic_arguments
  496                              | "markup?" 
                                       markup_command_list_arguments 
                                       markup 

  497 markup_head_1_item: MARKUP_FUNCTION 
                            "markup?" 
                            markup_command_list_arguments 

  498 markup_head_1_list: markup_head_1_item
  499                   | markup_head_1_list markup_head_1_item

  500 simple_markup: STRING
  501              | MARKUP_IDENTIFIER
  502              | LYRIC_MARKUP_IDENTIFIER
  503              | STRING_IDENTIFIER

  505 simple_markup: "\score" 0 '{' score_body '}'
  506              | MARKUP_FUNCTION markup_command_basic_arguments
  507              | markup_scm MARKUP_IDENTIFIER

  508 markup: markup_head_1_list simple_markup
  509       | simple_markup


Terminals, with rules where they appear



    168 169 170 171 172 173 174 175 176 177 178 179 211 212 215 216
    172 173 174 175 176 179 186 187 188 189 192 194 195 196 201 202
    203 204 205 206 207 208 228 493
    226 227 228
    397 447 452
"#{" (352) 3
"(backed-up?)" (347) 179 210 214 480
"(reparsed?)" (348) 180 181 182 193 197
"-" (317) 443
"--" (338) 323
"/" (318) 434
"/+" (314) 435
":" (316) 432
"<" (319) 302
"<<" (321) 126
">" (320) 302 374
">>" (322) 126
"\!" (327) 338 406
"\" (323) 315 408
"\(" (329) 339
"\)" (326) 340
"\+" (332) 405
"\<" (331) 342
"\>" (324) 341
"\[" (328) 313
"\]" (330) 314
"\accepts" (273) 266
"\addlyrics" (262) 250 252
"\alias" (274) 269
"\alternative" (260) 122
"\book" (275) 68
"\bookpart" (276) 80
"\C[haracter]" (325)
"\change" (277) 256
"\chordmode" (278) 243
"\chords" (279) 247
"\consists" (280) 264
"\context" (281) 62 236
"\default" (263) 226 227 228
"\defaultchild" (282) 267
"\denies" (283) 268
"\description" (284) 271
"\drummode" (285) 241
"\drums" (286) 245
"\figuremode" (287) 242
"\figures" (288) 246
"\header" (289) 43
"\layout" (291) 101
"\lyricmode" (292) 244
"\lyrics" (293) 248
"\lyricsto" (294) 255
"\markup" (295) 475
"\markuplist" (296) 472
"\midi" (297) 100
"\name" (298) 272
"\new" (313) 237
"\notemode" (299) 240
"\override" (300) 262 278
"\paper" (301) 99
"\remove" (302) 265
"\repeat" (259) 121 122
"\rest" (303) 415
"\revert" (304) 263 279
"\score" (305) 91 505
"\sequential" (306) 123
"\set" (307) 280
"\simultaneous" (308) 125
"\tempo" (309) 108 109 110
"\type" (310) 270
"\unset" (311) 261 281
"\version-error" (290) 8 40
"\with" (312) 131 132 134
"\~" (333) 317
"^" (315) 433
"_" (337) 400
"__" (334) 324
"ly:duration?" (345) 152 155 178 212 216 225 227
"ly:pitch?" (344) 151 154 177 211 215 224 226
"markup-list?" (349) 492
"markup?" (343) 496 497
"optional?" (350) 151 152 153 154 155 156 157 158 159 160 161 162 167
"scheme?" (346) 153 156 157 158 159 160 161 162 167 168 169 170 171
$end (0) 0
'!' (33) 399 464
''' (39) 353 354
'(' (40) 336
')' (41) 337
'*' (42) 386 387 450
'+' (43) 285 371 398 442 446
',' (44) 355 356
'-' (45) 160 161 162 174 175 176 194 195 196 203 204 205 331 372 379
'.' (46) 277 375 391 440
'/' (47) 389 407 451
':' (58) 392 393
'=' (61) 46 47 108 109 231 256 260 262 278 280 350 351 352
'?' (63) 466
'[' (91) 333 410
']' (93) 334 402
'^' (94) 328 370 378
'_' (95) 329 376 377
'{' (123) 43 62 68 80 91 103 104 115 131 487 505
'|' (124) 316 373
'}' (125) 43 62 68 80 91 98 115 131 487 505
'~' (126) 335 445
BOOK_IDENTIFIER (353) 70 82
CHORD_MODIFIER (355) 438
CHORD_REPETITION (356) 297
CHORDMODIFIER_PITCH (354)
CHORDMODIFIERS (339)
COMPOSITE (261)
CONTEXT_DEF_IDENTIFIER (357) 64
CONTEXT_MOD_IDENTIFIER (358) 132 133 139
DRUM_PITCH (359) 306 417
DURATION_IDENTIFIER (265) 384
E_UNSIGNED (342) 332
error (256) 7 39 79 90 96 107 114
EVENT_FUNCTION (361) 311
EVENT_IDENTIFIER (360) 344
EXPECT_NO_MORE_ARGS (351) 223 494
FIGURE_CLOSE (335) 413
FIGURE_OPEN (336) 413
FRACTION (362) 158 173 387 388
FUNCTION_ARGLIST (264)
LYRIC_ELEMENT (364) 426
LYRIC_MARKUP (340) 469
LYRIC_MARKUP_IDENTIFIER (365) 467 502
LYRICS_STRING (363) 45 287 422
MARKUP_FUNCTION (366) 497 506
MARKUP_IDENTIFIER (368) 473 501 507
MARKUP_LIST_FUNCTION (367) 491
MARKUPLIST_IDENTIFIER (369) 470 481 485
MULTI_MEASURE_REST (341) 298
MUSIC_FUNCTION (370) 229 310
MUSIC_IDENTIFIER (371) 146 309
NOTENAME_PITCH (269) 357 358 359
NUMBER_IDENTIFIER (271) 162 172 176 196 205 455 456 459 462
OUTPUT_DEF_IDENTIFIER (372) 104
PITCH_IDENTIFIER (270) 364
PREC_BOT (258)
PREC_TOP (272)
REAL (266) 161 171 175 195 204 456 458
RESTNAME (373) 418
SCM_FUNCTION (374) 35 222
SCM_IDENTIFIER (375) 18
SCM_TOKEN (376) 17
SCORE_IDENTIFIER (377) 93
STRING (378) 20 44 256 260 274 283 286 395 500
STRING_IDENTIFIER (379) 21 284 288 503
TONICNAME_PITCH (268) 360 361 362
UNARY_MINUS (380)
UNSIGNED (267) 160 170 174 194 203 369 389 394 455 457 460 461

Nonterminals, with rules where they appear


assignment (161)
    on left: 46 47 48, on right: 6 42 105
assignment_id (160)
    on left: 44 45, on right: 46 47
bare_number_closed (294)
    on left: 457 458 459, on right: 157 454
bass_number (270)
    on left: 394 395 396, on right: 401
book_block (165)
    on left: 68, on right: 10 27 50
bookpart_block (167)
    on left: 80, on right: 11 28 51 72
br_bass_figure (274)
    on left: 409 410, on right: 412
braced_music_list (178)
    on left: 115, on right: 122 123 124 125
chord_body (237)
    on left: 302, on right: 301
chord_body_element (239)
    on left: 305 306 307, on right: 304
chord_body_elements (238)
    on left: 303 304, on right: 302 304
chord_item (286)
    on left: 436 437 438, on right: 431
chord_items (284)
    on left: 430 431, on right: 429 431
chord_separator (285)
    on left: 432 433 434 435, on right: 429 436
closed_music (190)
    on left: 143 144, on right: 144 221
command_element (243)
    on left: 312 313 314 315 316, on right: 299
command_event (244)
    on left: 317 318, on right: 312
complex_music (212)
    on left: 232 233 234 235, on right: 141
complex_music_prefix (213)
    on left: 236 237, on right: 144 235
context_change (222)
    on left: 256, on right: 129
context_def_spec_block (163)
    on left: 62, on right: 26 53 106
context_mod (227)
    on left: 273 274 275, on right: 66 138
context_prop_spec (228)
    on left: 276 277, on right: 278 279 280 281
direction_less_event (250)
    on left: 343 344 345 346, on right: 321 326
direction_reqd_event (251)
    on left: 347 348, on right: 325
dots (268)
    on left: 390 391, on right: 383 384 391
duration_length (263)
    on left: 380, on right: 155 178 225
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: 186 289
embedded_scm_bare (152)
    on left: 17 18, on right: 19 30 217 480
embedded_scm_closed (206)
    on left: 217 218, on right: 134 257 258 493
event_chord (235)
    on left: 295 296 297 298 299 300, on right: 127
event_function_event (242)
    on left: 311, on right: 346
exclamations (297)
    on left: 463 464, on right: 305 416 464
figure_list (275)
    on left: 411 412, on right: 412 413
figure_spec (276)
    on left: 413, on right: 420
figured_bass_alteration (271)
    on left: 397 398 399, on right: 403
figured_bass_modification (273)
    on left: 405 406 407 408, on right: 404
fingering (260)
    on left: 369, on right: 328 329 331
fraction (267)
    on left: 388 389, on right: 182 188 207
full_markup (303)
    on left: 473 475, on right: 14 22 59 75 86 367 396
full_markup_list (301)
    on left: 470 472, on right: 15 23 60 76 87
function_arglist (198)
    on left: 183 184, on right: 35 154 156 229
function_arglist_common_lyric (200)
    on left: 192 193, on right: 191 193
function_arglist_keep (195)
    on left: 163 164, on right: 167 169 177 209
gen_text_def (259)
    on left: 367 368, on right: 347
grouped_music_list (192)
    on left: 148 149, on right: 147 238 239
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 77 88 94
lilypond_header_body (158)
    on left: 41 42, on right: 42 43
lyric_element_arg (281)
    on left: 423 424 425 426, on right: 193
lyric_element_music (282)
    on left: 427, on right: 117
lyric_markup (299)
    on left: 467 469, on right: 421
markup (319)
    on left: 508 509, on right: 489 496
markup_braced_list (310)
    on left: 487, on right: 483 486
markup_braced_list_body (311)
    on left: 488 489 490, on right: 487 489 490
markup_command_list (312)
    on left: 491, on right: 484
markup_composed_list (309)
    on left: 486, on right: 482
markup_head_1_item (315)
    on left: 497, on right: 498 499
markup_head_1_list (316)
    on left: 498 499, on right: 477 486 499 508
markup_list (308)
    on left: 481 482 483 484 485, on right: 472 476 490 492
markup_scm (306)
    on left: 480, on right: 485 507
markup_top (305)
    on left: 476 477 478, on right: 469 475
mode_changed_music (214)
    on left: 238 239, on right: 145
mode_changing_head (215)
    on left: 240 241 242 243 244, on right: 238
music (179)
    on left: 116 117 118, on right: 38 54 92 112 121 122 235 255
music_arg (180)
    on left: 119 120, on right: 34
music_bare (191)
    on left: 145 146 147, on right: 142 143
music_function_call (210)
    on left: 229, on right: 232 308
music_function_chord_body (240)
    on left: 308 309, on right: 307
music_function_event (241)
    on left: 310, on right: 322
music_property_def (230)
    on left: 282, on right: 128
new_chord (283)
    on left: 428 429, on right: 419
new_lyrics (217)
    on left: 250 252, on right: 252 253
note_chord_element (236)
    on left: 301, on right: 300
number_expression (290)
    on left: 446 447 448, on right: 56 446 447
number_factor (292)
    on left: 452 453, on right: 449 450 451 452
number_term (291)
    on left: 449 450 451, on right: 446 447 448
octave_check (252)
    on left: 349 350 351 352, on right: 305 416
optional_context_mod (187)
    on left: 135 136, on right: 236 237 239
optional_id (211)
    on left: 230 231, on right: 236 237
optional_rest (277)
    on left: 414 415, on right: 416
output_def (172)
    on left: 98, on right: 16 29 52 95 97
output_def_head (173)
    on left: 99 100 101, on right: 102
output_def_head_with_mode_switch (174)
    on left: 102, on right: 103 104
paper_block (171)
    on left: 97, on right: 71 83
pitch (257)
    on left: 363 364, on right: 305 365 416
pitch_also_in_chords (258)
    on left: 365 366, on right: 154 177 224
post_event (247)
    on left: 330 331, on right: 320 425
property_operation (225)
    on left: 260 261 262 263, on right: 273
property_path (224)
    on left: 259, on right: 47 262 278
property_path_revved (223)
    on left: 257 258, on right: 258 259
questions (298)
    on left: 465 466, on right: 305 416 466
re_rhythmed_music (220)
    on left: 253 255, on right: 234
repeated_music (181)
    on left: 121 122, on right: 233
scalar (233)
    on left: 289 290 291, on right: 110 260 262 278 280
scalar_closed (234)
    on left: 292 293 294, on right: 109
scm_function_call (156)
    on left: 35, on right: 31 33
scm_function_call_closed (208)
    on left: 222, on right: 218 220
score_block (169)
    on left: 91, on right: 12 25 49 73 84
score_body (170)
    on left: 92 93 94 95 96, on right: 91 94 95 96 505
script_dir (262)
    on left: 377 378 379, on right: 322 325 326
sequential_music (182)
    on left: 123 124, on right: 149
simple_chord_elements (279)
    on left: 419 420, on right: 296
simple_element (278)
    on left: 416 417 418, on right: 295
simple_music (184)
    on left: 127 128 129, on right: 116 119
simple_music_property_def (229)
    on left: 278 279 280 281, on right: 282
simultaneous_music (183)
    on left: 125 126, on right: 148
start_symbol (148)
    on left: 1 3, on right: 0
steno_duration (265)
    on left: 383 384, on right: 108 109 385
steno_pitch (255)
    on left: 357 358 359, on right: 363
step_number (288)
    on left: 441 442 443, on right: 439 440
step_numbers (287)
    on left: 439 440, on right: 437 440
string (231)
    on left: 283 284 285, on right: 57 285
string_number_event (248)
    on left: 332, on right: 327
sub_quotes (254)
    on left: 355 356, on right: 351 356 359 362
sup_quotes (253)
    on left: 353 354, on right: 352 354 358 361
tempo_event (176)
    on left: 108 109 110, on right: 318
tempo_range (289)
    on left: 444 445, on right: 108 109
toplevel_expression (151)
    on left: 9 10 11 12 13 14 15 16, on right: 5
tremolo_type (269)
    on left: 392 393, on right: 345
unsigned_number (296)
    on left: 461 462, on right: 121 122

他の言語: English, deutsch, español, français, italiano

LilyPond — 記譜法リファレンス