abjad.parser
Abjad model of the LilyPond AST context-specced music node. |
|
|
Emulates LilyPond music functions. |
Model of a duration in LilyPond. |
|
Model of an arbitrary event in LilyPond. |
|
Model of a fraction in LilyPond. |
|
Generates a syntax skeleton from LilyPond grammar files. |
|
The lexical definition of LilyPond's syntax. |
|
A LilyPond syntax parser. |
|
The syntactical definition of LilyPond's syntax. |
|
LilyPond markup command. |
|
|
Abjad model of the LilyPond AST music node. |
|
Abjad model of the LilyPond AST sequential music node. |
Abjad model of the LilyPond AST simultaneous music node. |
|
|
A node in an abstract syntax tree (AST). |
- class abjad.parsers.parser.ContextSpeccedMusic(lilypond_type=None, optional_id=None, optional_context_mod=None, music=None)[source]
Abjad model of the LilyPond AST context-specced music node.
Constructs context.
Known contexts.
- known_contexts
Known contexts.
Returns dictionary.
- class abjad.parsers.parser.GuileProxy(client=None, *, tag=None)[source]
Emulates LilyPond music functions.
Used internally by LilyPondParser.
Not composer-safe.
acciaccatura
(music)Handles LilyPond
\acciaccatura
command.appoggiatura
(music)Handles LilyPond
\appoggiatura
command.bar
(string)Handles LilyPond
\bar
command.breathe
()Handles LilyPond
\breathe
command.clef
(string)Handles LilyPond
\clef
command.grace
(music)Handles LilyPond
\grace
command.key
(notename_pitch, number_list)Handles LilyPond
\key
command.language
(string)Handles LilyPond
\language
command.makeClusters
(music)Handles LilyPond
\makeClusters
command.mark
(label)Handles LilyPond
\mark
command.oneVoice
()Handles LilyPond
\oneVoice
command.relative
(pitch, music)Handles LilyPond
\relative
command.skip
(duration)Handles LilyPond
\skip
command.slashed_grace_container
(music)Handles LilyPond
\slashedGrace
command.time
(number_list, fraction)Handles LilyPond
\time
command.times
(fraction, music)Handles LilyPond
\times
command.transpose
(from_pitch, to_pitch, music)Handles LilyPond
\transpose
command.tuplet
(fraction, _optional, music)Handles LilyPond
\tuplet
command.Handles LilyPond
\voiceFour
command.voiceOne
()Handles LilyPond
\voiceOnce
command.Handles LilyPond
\voiceThree
command.voiceTwo
()Handles LilyPond
\voiceTwo
command.
- class abjad.parsers.parser.LilyPondDuration(duration=None, multiplier=None)[source]
Model of a duration in LilyPond.
Not composer-safe.
Used internally by LilyPondParser.
- class abjad.parsers.parser.LilyPondEvent(name=None, **keywords)[source]
Model of an arbitrary event in LilyPond.
Not composer-safe.
Used internally by LilyPondParser.
- class abjad.parsers.parser.LilyPondFraction(numerator=0, denominator=1)[source]
Model of a fraction in LilyPond.
Not composer-safe.
Used internally by LilyPondParser.
- class abjad.parsers.parser.LilyPondGrammarGenerator[source]
Generates a syntax skeleton from LilyPond grammar files.
- class abjad.parsers.parser.LilyPondLexicalDefinition(client=None, *, tag: Tag | None = None)[source]
The lexical definition of LilyPond’s syntax.
Effectively equivalent to LilyPond’s
lexer.ll
file.Not composer-safe.
Used internally by
LilyPondParser
.push_signature
(signature, t)t_651_a
(t)t_651_b
(t)t_661
(t)-.
t_666
(t)t_ANY_165
(t)r
%{
%[^{nr][^nr]*[nr]
%[^{nr][^nr]*$
%[^{nr]
%[nr]
%[^{nr][^nr]*
"
#
\version[ ntfr]*
<<
>>
<
>
\.
t_error
(t)[^%]+
%+[^}%]*
%}
t_markup_545
(t)\score
t_markup_548
(t)t_markup_601
(t)[^#{}"\ tnrf]+
t_newline
(t)n+
t_notes_417
(t)t_notes_421
(t)t_notes_424
(t)t_notes_428
(t)t_notes_428b
(t)t_notes_433
(t)t_quote_440
(t)t_quote_443
(t)[^\""]+
t_quote_446
(t)"
t_quote_456
(t)t_quote_XXX
(t)\"
"[^"]*"
"[^"]*
- t_longcomment_error(t)
- t_markup_error(t)
- t_notes_error(t)
- t_quote_error(t)
- t_scheme_error(t)
- t_version_error(t)
- class abjad.parsers.parser.LilyPondParser(default_language='english', *, debug=False, tag=None)[source]
A LilyPond syntax parser.
>>> parser = abjad.parser.LilyPondParser() >>> string = r"\new Staff { c'4 ( d'8 e' fs'2) \fermata }" >>> staff = parser(string) >>> abjad.show(staff)
>>> string = abjad.lilypond(staff) >>> print(string) \new Staff { c'4 ( d'8 e'8 fs'2 - \fermata ) }
The LilyPond parser understands most spanners, articulations and dynamics:
>>> string = r""" ... \new Staff { ... c'8 \f \> ( ... d' -_ [ ... e' ^> ... f' \ppp \< ... g' \startTrillSpan \( ... a' \) ... b' ] \stopTrillSpan ... c'' ) \accent \sfz ... } ... """ >>> staff = parser(string) >>> abjad.show(staff)
The LilyPond parser understands contexts and markup:
>>> string = r"""\new Score << ... \new Staff = "Treble Staff" { ... \new Voice = "Treble Voice" { ... c' ^\markup { \bold Treble! } ... } ... } ... \new Staff = "Bass Staff" { ... \new Voice = "Bass Voice" { ... \clef bass ... c, _\markup { \italic Bass! } ... } ... } ... >> ... """ >>> score = parser(string) >>> abjad.show(score)
The LilyPond parser also understands certain aspects of LilyPond file layouts, such as header blocks:
>>> string = r""" ... \header { ... composer = \markup { by \bold "Foo von Bar" } ... title = \markup { The ballad of Foo von Bar } ... tagline = \markup { "" } ... } ... \score { ... \new Staff { ... \time 3/4 ... g' ( b' d'' ) ... e''4. ( c''8 c'4 ) ... } ... } ... """ >>> blocks = parser(string) >>> abjad.show(blocks)
The LilyPond parser supports a small number of LilyPond music functions, such as relative and transpose.
Note
Music functions which mutate the score during compilation result in a normalized Abjad score structure. The resulting structure corresponds to the music as it appears on the page, rather than as it was input to the parser:
>>> string = r""" ... \new Staff \relative c { ... c32 d e f g a b c d e f g a b c d e f g a b c ... } ... """ >>> staff = parser(string) >>> abjad.show(staff)
The LilyPond parser defaults to English note names, but any of the other languages supported by LilyPond may be used:
>>> parser = abjad.parser.LilyPondParser("nederlands") >>> string = "{ c des e fis }" >>> container = parser(string) >>> abjad.show(container)
Briefly, LilyPondParser understands theses aspects of LilyPond syntax:
Notes, chords, rests, skips and multi-measure rests
Durations, dots, and multipliers
All pitchnames, and octave ticks
Simple markup (i.e.
c'4 ^ "hello!"
)Most articulations
Most spanners, incl. beams, slurs, phrasing slurs, ties, and glissandi
Most context types via
\new
and\context
, as well as context ids (i.e.\new Staff = "foo" { }
)Variable assigns (ie
global = { \time 3/4 } \new Staff { \global }
)- Many music functions:
\acciaccatura
\appoggiatura
\bar
\breathe
\clef
\grace
\key
\transpose
\language
\makeClusters
\mark
\oneVoice
\relative
\skip
\slashedGrace
\time
\times
\transpose
\tuplet
\voiceOne
,\voiceTwo
,\voiceThree
,\voiceFour
LilyPondParser currently DOES NOT understand many other aspects of LilyPond syntax:
\markup
\book
,\bookpart
,\header
,\layout
,\midi
,\paper
\repeat
and\alternative
Lyrics
\chordmode
,\drummode
or\figuremode
Property operations, such as
\override
,\revert
,\set
,\unset
, and\once
Music functions which generate or extensively mutate musical structures
Embedded Scheme statements (anything beginning with
#
)
Tuple of pitch-name languages supported by LilyPondParser.
Gets and sets default language of parser.
Lexer rules object of LilyPond parser.
Parser rules object of LilyPond parser.
- available_languages
Tuple of pitch-name languages supported by LilyPondParser.
>>> parser = abjad.parser.LilyPondParser() >>> for language in parser.available_languages: ... print(language) ... catalan deutsch english espanol español français italiano nederlands norsk portugues suomi svenska vlaams
- default_language
Gets and sets default language of parser.
>>> parser = abjad.parser.LilyPondParser()
>>> parser.default_language 'english'
>>> parser("{ c df e fs }") Container('c4 df4 e4 fs4')
>>> parser.default_language = "nederlands" >>> parser.default_language 'nederlands'
>>> parser("{ c des e fis }") Container('c4 df4 e4 fs4')
- lexer_rules_object
Lexer rules object of LilyPond parser.
- parser_rules_object
Parser rules object of LilyPond parser.
- class abjad.parsers.parser.LilyPondSyntacticalDefinition(client=None, *, tag=None)[source]
The syntactical definition of LilyPond’s syntax.
Effectively equivalent to LilyPond’s
parser.yy
file.Not composer-safe.
Used internally by
LilyPondParser
.assignment : assignment_id '=' identifier_init
assignment : embedded_scm
assignment_id : STRING
bare_number : REAL NUMBER_IDENTIFIER
bare_number : UNSIGNED NUMBER_IDENTIFIER
bare_number : bare_number_closed
bare_number_closed : NUMBER_IDENTIFIER
bare_number_closed : REAL
bare_number_closed : UNSIGNED
bare_unsigned : UNSIGNED
braced_music_list : '{' music_list '}'
p_chord_body__ANGLE_OPEN__chord_body_elements__ANGLE_CLOSE
(p)chord_body : ANGLE_OPEN chord_body_elements ANGLE_CLOSE
chord_body_element : music_function_chord_body
p_chord_body_element__pitch__exclamations__questions__octave_check__post_events
(p)chord_body_element : pitch exclamations questions octave_check post_events
chord_body_elements :
p_chord_body_elements__chord_body_elements__chord_body_element
(p)chord_body_elements : chord_body_elements chord_body_element
closed_music : complex_music_prefix closed_music
closed_music : music_bare
command_element : '|'
command_element : E_BACKSLASH
command_element : command_event
command_event : tempo_event
complex_music : complex_music_prefix music
complex_music : music_function_call
p_complex_music_prefix__CONTEXT__simple_string__optional_id__optional_context_mod
(p)complex_music_prefix : CONTEXT simple_string optional_id optional_context_mod
p_complex_music_prefix__NEWCONTEXT__simple_string__optional_id__optional_context_mod
(p)complex_music_prefix : NEWCONTEXT simple_string optional_id optional_context_mod
composite_music : complex_music
composite_music : music_bare
context_change : CHANGE STRING '=' STRING
p_context_def_spec_block__CONTEXT__Chr123__context_def_spec_body__Chr125
(p)context_def_spec_block : CONTEXT '{' context_def_spec_body '}'
context_def_spec_body : CONTEXT_DEF_IDENTIFIER
context_def_spec_body :
p_context_def_spec_body__context_def_spec_body__context_mod
(p)context_def_spec_body : context_def_spec_body context_mod
p_context_def_spec_body__context_def_spec_body__context_modification
(p)context_def_spec_body : context_def_spec_body context_modification
p_context_def_spec_body__context_def_spec_body__embedded_scm
(p)context_def_spec_body : context_def_spec_body embedded_scm
context_mod : property_operation
context_mod_list :
p_context_mod_list__context_mod_list__CONTEXT_MOD_IDENTIFIER
(p)context_mod_list : context_mod_list CONTEXT_MOD_IDENTIFIER
context_mod_list : context_mod_list context_mod
context_mod_list : context_mod_list embedded_scm
context_modification : CONTEXT_MOD_IDENTIFIER
context_modification : WITH CONTEXT_MOD_IDENTIFIER
p_context_modification__WITH__Chr123__context_mod_list__Chr125
(p)context_modification : WITH '{' context_mod_list '}'
context_modification : WITH embedded_scm_closed
context_prop_spec : simple_string
context_prop_spec : simple_string '.' simple_string
direction_less_char : '~'
direction_less_char : '('
direction_less_char : ')'
direction_less_char : '['
direction_less_char : ']'
direction_less_char : E_ANGLE_CLOSE
direction_less_char : E_ANGLE_OPEN
direction_less_char : E_CLOSE
direction_less_char : E_EXCLAMATION
direction_less_char : E_OPEN
direction_less_event : EVENT_IDENTIFIER
direction_less_event : direction_less_char
direction_less_event : event_function_event
direction_less_event : tremolo_type
direction_reqd_event : gen_text_def
direction_reqd_event : script_abbreviation
dots :
dots : dots '.'
duration_length : multiplied_duration
embedded_scm : embedded_scm_bare
embedded_scm : scm_function_call
embedded_scm_arg : embedded_scm_bare_arg
embedded_scm_arg : music_arg
embedded_scm_arg : scm_function_call
embedded_scm_arg_closed : closed_music
embedded_scm_arg_closed : embedded_scm_bare_arg
embedded_scm_arg_closed : scm_function_call_closed
embedded_scm_bare : SCM_IDENTIFIER
embedded_scm_bare : SCM_TOKEN
embedded_scm_bare_arg : STRING
embedded_scm_bare_arg : STRING_IDENTIFIER
embedded_scm_bare_arg : context_def_spec_block
embedded_scm_bare_arg : context_modification
embedded_scm_bare_arg : embedded_scm_bare
embedded_scm_bare_arg : full_markup
embedded_scm_bare_arg : full_markup_list
embedded_scm_bare_arg : output_def
embedded_scm_bare_arg : score_block
p_embedded_scm_chord_body__SCM_FUNCTION__music_function_chord_body_arglist
(p)embedded_scm_chord_body : SCM_FUNCTION music_function_chord_body_arglist
embedded_scm_chord_body : bare_number
embedded_scm_chord_body : chord_body_element
embedded_scm_chord_body : embedded_scm_bare_arg
embedded_scm_chord_body : fraction
embedded_scm_closed : embedded_scm_bare
embedded_scm_closed : scm_function_call_closed
p_error
(p)p_event_chord__CHORD_REPETITION__optional_notemode_duration__post_events
(p)event_chord : CHORD_REPETITION optional_notemode_duration post_events
p_event_chord__MULTI_MEASURE_REST__optional_notemode_duration__post_events
(p)event_chord : MULTI_MEASURE_REST optional_notemode_duration post_events
event_chord : command_element
event_chord : note_chord_element
event_chord : simple_chord_elements post_events
p_event_function_event__EVENT_FUNCTION__function_arglist_closed
(p)event_function_event : EVENT_FUNCTION function_arglist_closed
exclamations :
exclamations : exclamations '!'
fingering : UNSIGNED
fraction : FRACTION
fraction : UNSIGNED '/' UNSIGNED
full_markup : MARKUP_IDENTIFIER
full_markup : MARKUP markup_top
full_markup_list : MARKUPLIST_IDENTIFIER
full_markup_list : MARKUPLIST markup_list
function_arglist : function_arglist_common
function_arglist : function_arglist_nonbackup
function_arglist_backup : EXPECT_OPTIONAL EXPECT_DURATION function_arglist_closed_keep duration_length
function_arglist_backup : EXPECT_OPTIONAL EXPECT_PITCH function_arglist_keep pitch_also_in_chords
p_function_arglist_backup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_backup__BACKUP
(p)function_arglist_backup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_backup BACKUP
function_arglist_backup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed_keep '-' NUMBER_IDENTIFIER
p_function_arglist_backup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_closed_keep__Chr45__REAL
(p)function_arglist_backup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed_keep '-' REAL
function_arglist_backup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed_keep '-' UNSIGNED
p_function_arglist_backup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_closed_keep__FRACTION
(p)function_arglist_backup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed_keep FRACTION
function_arglist_backup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed_keep NUMBER_IDENTIFIER
p_function_arglist_backup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_closed_keep__REAL
(p)function_arglist_backup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed_keep REAL
p_function_arglist_backup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_closed_keep__UNSIGNED
(p)function_arglist_backup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed_keep UNSIGNED
function_arglist_backup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed_keep post_event_nofinger
function_arglist_backup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_keep embedded_scm_arg_closed
p_function_arglist_backup__function_arglist_backup__REPARSE__bare_number
(p)function_arglist_backup : function_arglist_backup REPARSE bare_number
p_function_arglist_backup__function_arglist_backup__REPARSE__embedded_scm_arg_closed
(p)function_arglist_backup : function_arglist_backup REPARSE embedded_scm_arg_closed
p_function_arglist_backup__function_arglist_backup__REPARSE__fraction
(p)function_arglist_backup : function_arglist_backup REPARSE fraction
p_function_arglist_bare__EXPECT_DURATION__function_arglist_closed_optional__duration_length
(p)function_arglist_bare : EXPECT_DURATION function_arglist_closed_optional duration_length
function_arglist_bare : EXPECT_NO_MORE_ARGS
p_function_arglist_bare__EXPECT_OPTIONAL__EXPECT_DURATION__function_arglist_skip__DEFAULT
(p)function_arglist_bare : EXPECT_OPTIONAL EXPECT_DURATION function_arglist_skip DEFAULT
p_function_arglist_bare__EXPECT_OPTIONAL__EXPECT_PITCH__function_arglist_skip__DEFAULT
(p)function_arglist_bare : EXPECT_OPTIONAL EXPECT_PITCH function_arglist_skip DEFAULT
p_function_arglist_bare__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_skip__DEFAULT
(p)function_arglist_bare : EXPECT_OPTIONAL EXPECT_SCM function_arglist_skip DEFAULT
p_function_arglist_bare__EXPECT_PITCH__function_arglist_optional__pitch_also_in_chords
(p)function_arglist_bare : EXPECT_PITCH function_arglist_optional pitch_also_in_chords
p_function_arglist_closed__function_arglist_closed_common
(p)function_arglist_closed : function_arglist_closed_common
function_arglist_closed : function_arglist_nonbackup
function_arglist_closed_common : EXPECT_SCM function_arglist_closed_optional '-' NUMBER_IDENTIFIER
p_function_arglist_closed_common__EXPECT_SCM__function_arglist_closed_optional__Chr45__REAL
(p)function_arglist_closed_common : EXPECT_SCM function_arglist_closed_optional '-' REAL
p_function_arglist_closed_common__EXPECT_SCM__function_arglist_closed_optional__Chr45__UNSIGNED
(p)function_arglist_closed_common : EXPECT_SCM function_arglist_closed_optional '-' UNSIGNED
p_function_arglist_closed_common__EXPECT_SCM__function_arglist_closed_optional__bare_number
(p)function_arglist_closed_common : EXPECT_SCM function_arglist_closed_optional bare_number
p_function_arglist_closed_common__EXPECT_SCM__function_arglist_closed_optional__fraction
(p)function_arglist_closed_common : EXPECT_SCM function_arglist_closed_optional fraction
p_function_arglist_closed_common__EXPECT_SCM__function_arglist_closed_optional__post_event_nofinger
(p)function_arglist_closed_common : EXPECT_SCM function_arglist_closed_optional post_event_nofinger
p_function_arglist_closed_common__EXPECT_SCM__function_arglist_optional__embedded_scm_arg_closed
(p)function_arglist_closed_common : EXPECT_SCM function_arglist_optional embedded_scm_arg_closed
function_arglist_closed_common : function_arglist_bare
function_arglist_closed_keep : function_arglist_backup
p_function_arglist_closed_keep__function_arglist_closed_common
(p)function_arglist_closed_keep : function_arglist_closed_common
function_arglist_closed_optional : EXPECT_OPTIONAL EXPECT_DURATION function_arglist_closed_optional
p_function_arglist_closed_optional__EXPECT_OPTIONAL__EXPECT_PITCH__function_arglist_closed_optional
(p)function_arglist_closed_optional : EXPECT_OPTIONAL EXPECT_PITCH function_arglist_closed_optional
p_function_arglist_closed_optional__function_arglist_backup__BACKUP
(p)function_arglist_closed_optional : function_arglist_backup BACKUP
p_function_arglist_closed_optional__function_arglist_closed_keep
(p)function_arglist_closed_optional : function_arglist_closed_keep %prec FUNCTION_ARGLIST
p_function_arglist_common__EXPECT_SCM__function_arglist_closed_optional__bare_number
(p)function_arglist_common : EXPECT_SCM function_arglist_closed_optional bare_number
p_function_arglist_common__EXPECT_SCM__function_arglist_closed_optional__fraction
(p)function_arglist_common : EXPECT_SCM function_arglist_closed_optional fraction
p_function_arglist_common__EXPECT_SCM__function_arglist_closed_optional__post_event_nofinger
(p)function_arglist_common : EXPECT_SCM function_arglist_closed_optional post_event_nofinger
p_function_arglist_common__EXPECT_SCM__function_arglist_optional__embedded_scm_arg
(p)function_arglist_common : EXPECT_SCM function_arglist_optional embedded_scm_arg
function_arglist_common : function_arglist_bare
function_arglist_common : function_arglist_common_minus
function_arglist_common_minus : EXPECT_SCM function_arglist_closed_optional '-' NUMBER_IDENTIFIER
p_function_arglist_common_minus__EXPECT_SCM__function_arglist_closed_optional__Chr45__REAL
(p)function_arglist_common_minus : EXPECT_SCM function_arglist_closed_optional '-' REAL
p_function_arglist_common_minus__EXPECT_SCM__function_arglist_closed_optional__Chr45__UNSIGNED
(p)function_arglist_common_minus : EXPECT_SCM function_arglist_closed_optional '-' UNSIGNED
p_function_arglist_common_minus__function_arglist_common_minus__REPARSE__bare_number
(p)function_arglist_common_minus : function_arglist_common_minus REPARSE bare_number
function_arglist_keep : function_arglist_backup
function_arglist_keep : function_arglist_common
function_arglist_nonbackup : EXPECT_OPTIONAL EXPECT_DURATION function_arglist_closed duration_length
p_function_arglist_nonbackup__EXPECT_OPTIONAL__EXPECT_PITCH__function_arglist__pitch_also_in_chords
(p)function_arglist_nonbackup : EXPECT_OPTIONAL EXPECT_PITCH function_arglist pitch_also_in_chords
p_function_arglist_nonbackup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist__embedded_scm_arg_closed
(p)function_arglist_nonbackup : EXPECT_OPTIONAL EXPECT_SCM function_arglist embedded_scm_arg_closed
function_arglist_nonbackup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed '-' NUMBER_IDENTIFIER
p_function_arglist_nonbackup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_closed__Chr45__REAL
(p)function_arglist_nonbackup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed '-' REAL
p_function_arglist_nonbackup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_closed__Chr45__UNSIGNED
(p)function_arglist_nonbackup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed '-' UNSIGNED
p_function_arglist_nonbackup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_closed__FRACTION
(p)function_arglist_nonbackup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed FRACTION
function_arglist_nonbackup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed bare_number_closed
function_arglist_nonbackup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed post_event_nofinger
p_function_arglist_optional__EXPECT_OPTIONAL__EXPECT_DURATION__function_arglist_optional
(p)function_arglist_optional : EXPECT_OPTIONAL EXPECT_DURATION function_arglist_optional
p_function_arglist_optional__EXPECT_OPTIONAL__EXPECT_PITCH__function_arglist_optional
(p)function_arglist_optional : EXPECT_OPTIONAL EXPECT_PITCH function_arglist_optional
p_function_arglist_optional__function_arglist_backup__BACKUP
(p)function_arglist_optional : function_arglist_backup BACKUP
function_arglist_optional : function_arglist_keep %prec FUNCTION_ARGLIST
p_function_arglist_skip__EXPECT_OPTIONAL__EXPECT_DURATION__function_arglist_skip
(p)function_arglist_skip : EXPECT_OPTIONAL EXPECT_DURATION function_arglist_skip %prec FUNCTION_ARGLIST
p_function_arglist_skip__EXPECT_OPTIONAL__EXPECT_PITCH__function_arglist_skip
(p)function_arglist_skip : EXPECT_OPTIONAL EXPECT_PITCH function_arglist_skip %prec FUNCTION_ARGLIST
p_function_arglist_skip__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_skip
(p)function_arglist_skip : EXPECT_OPTIONAL EXPECT_SCM function_arglist_skip %prec FUNCTION_ARGLIST
function_arglist_skip : function_arglist_common
gen_text_def : full_markup
gen_text_def : simple_string
grouped_music_list : sequential_music
grouped_music_list : simultaneous_music
identifier_init : context_def_spec_block
identifier_init : context_modification
identifier_init : embedded_scm
identifier_init : full_markup
identifier_init : full_markup_list
identifier_init : music
identifier_init : number_expression
identifier_init : output_def
identifier_init : post_event_nofinger
identifier_init : score_block
identifier_init : string
lilypond :
lilypond : lilypond assignment
lilypond : lilypond error
lilypond : lilypond toplevel_expression
p_lilypond_header__HEADER__Chr123__lilypond_header_body__Chr125
(p)lilypond_header : HEADER '{' lilypond_header_body '}'
lilypond_header_body :
lilypond_header_body : lilypond_header_body assignment
markup : markup_head_1_list simple_markup
markup : simple_markup
p_markup_braced_list__Chr123__markup_braced_list_body__Chr125
(p)markup_braced_list : '{' markup_braced_list_body '}'
markup_braced_list_body :
p_markup_braced_list_body__markup_braced_list_body__markup
(p)markup_braced_list_body : markup_braced_list_body markup
p_markup_braced_list_body__markup_braced_list_body__markup_list
(p)markup_braced_list_body : markup_braced_list_body markup_list
p_markup_command_basic_arguments__EXPECT_MARKUP_LIST__markup_command_list_arguments__markup_list
(p)markup_command_basic_arguments : EXPECT_MARKUP_LIST markup_command_list_arguments markup_list
markup_command_basic_arguments : EXPECT_NO_MORE_ARGS
p_markup_command_basic_arguments__EXPECT_SCM__markup_command_list_arguments__embedded_scm_closed
(p)markup_command_basic_arguments : EXPECT_SCM markup_command_list_arguments embedded_scm_closed
p_markup_command_list__MARKUP_LIST_FUNCTION__markup_command_list_arguments
(p)markup_command_list : MARKUP_LIST_FUNCTION markup_command_list_arguments
p_markup_command_list_arguments__EXPECT_MARKUP__markup_command_list_arguments__markup
(p)markup_command_list_arguments : EXPECT_MARKUP markup_command_list_arguments markup
p_markup_command_list_arguments__markup_command_basic_arguments
(p)markup_command_list_arguments : markup_command_basic_arguments
p_markup_composed_list__markup_head_1_list__markup_braced_list
(p)markup_composed_list : markup_head_1_list markup_braced_list
p_markup_head_1_item__MARKUP_FUNCTION__EXPECT_MARKUP__markup_command_list_arguments
(p)markup_head_1_item : MARKUP_FUNCTION EXPECT_MARKUP markup_command_list_arguments
markup_head_1_list : markup_head_1_item
p_markup_head_1_list__markup_head_1_list__markup_head_1_item
(p)markup_head_1_list : markup_head_1_list markup_head_1_item
markup_list : MARKUPLIST_IDENTIFIER
markup_list : markup_braced_list
markup_list : markup_command_list
markup_list : markup_composed_list
markup_list : markup_scm MARKUPLIST_IDENTIFIER
markup_scm : embedded_scm_bare BACKUP
markup_top : markup_head_1_list simple_markup
markup_top : markup_list
markup_top : simple_markup
p_multiplied_duration__multiplied_duration__Chr42__FRACTION
(p)multiplied_duration : multiplied_duration '*' FRACTION
p_multiplied_duration__multiplied_duration__Chr42__bare_unsigned
(p)multiplied_duration : multiplied_duration '*' bare_unsigned
multiplied_duration : steno_duration
music : composite_music %prec COMPOSITE
music : simple_music
music_arg : composite_music %prec COMPOSITE
music_arg : simple_music
music_bare : MUSIC_IDENTIFIER
music_bare : grouped_music_list
music_function_call : MUSIC_FUNCTION function_arglist
p_music_function_chord_body__MUSIC_FUNCTION__music_function_chord_body_arglist
(p)music_function_chord_body : MUSIC_FUNCTION music_function_chord_body_arglist
music_function_chord_body_arglist : EXPECT_SCM music_function_chord_body_arglist embedded_scm_chord_body
p_music_function_chord_body_arglist__function_arglist_bare
(p)music_function_chord_body_arglist : function_arglist_bare
p_music_function_event__MUSIC_FUNCTION__function_arglist_closed
(p)music_function_event : MUSIC_FUNCTION function_arglist_closed
music_list :
music_list : music_list embedded_scm
music_list : music_list error
music_list : music_list music
music_property_def : simple_music_property_def
p_note_chord_element__chord_body__optional_notemode_duration__post_events
(p)note_chord_element : chord_body optional_notemode_duration post_events
p_number_expression__number_expression__Chr43__number_term
(p)number_expression : number_expression '+' number_term
p_number_expression__number_expression__Chr45__number_term
(p)number_expression : number_expression '-' number_term
number_expression : number_term
number_factor : '-' number_factor
number_factor : bare_number
number_term : number_factor
number_term : number_factor '*' number_factor
number_term : number_factor '/' number_factor
octave_check : '='
octave_check : '=' sub_quotes
octave_check : '=' sup_quotes
octave_check :
optional_context_mod :
optional_context_mod : context_modification
optional_id : '=' simple_string
optional_id :
optional_notemode_duration :
optional_notemode_duration : multiplied_duration
optional_rest :
optional_rest : REST
output_def : output_def_body '}'
output_def_body : output_def_body assignment
p_output_def_body__output_def_head_with_mode_switch__Chr123
(p)output_def_body : output_def_head_with_mode_switch '{'
p_output_def_body__output_def_head_with_mode_switch__Chr123__OUTPUT_DEF_IDENTIFIER
(p)output_def_body : output_def_head_with_mode_switch '{' OUTPUT_DEF_IDENTIFIER
output_def_head : LAYOUT
output_def_head : MIDI
output_def_head : PAPER
output_def_head_with_mode_switch : output_def_head
pitch : PITCH_IDENTIFIER
pitch : steno_pitch
pitch_also_in_chords : pitch
pitch_also_in_chords : steno_tonic_pitch
post_event : '-' fingering
post_event : post_event_nofinger
post_event_nofinger : '^' fingering
post_event_nofinger : '_' fingering
post_event_nofinger : EXTENDER
post_event_nofinger : HYPHEN
post_event_nofinger : direction_less_event
post_event_nofinger : script_dir direction_less_event
post_event_nofinger : script_dir direction_reqd_event
post_event_nofinger : script_dir music_function_event
post_event_nofinger : string_number_event
post_events :
post_events : post_events post_event
p_property_operation__OVERRIDE__simple_string__property_path__Chr61__scalar
(p)property_operation : OVERRIDE simple_string property_path '=' scalar
p_property_operation__REVERT__simple_string__embedded_scm
(p)property_operation : REVERT simple_string embedded_scm
property_operation : STRING '=' scalar
property_operation : UNSET simple_string
property_path : property_path_revved
property_path_revved : embedded_scm_closed
p_property_path_revved__property_path_revved__embedded_scm_closed
(p)property_path_revved : property_path_revved embedded_scm_closed
questions :
questions : questions '?'
scalar : bare_number
scalar : embedded_scm_arg
scalar_closed : bare_number
scalar_closed : embedded_scm_arg_closed
scm_function_call : SCM_FUNCTION function_arglist
p_scm_function_call_closed__SCM_FUNCTION__function_arglist_closed
(p)scm_function_call_closed : SCM_FUNCTION function_arglist_closed %prec FUNCTION_ARGLIST
score_block : SCORE '{' score_body '}'
score_body : SCORE_IDENTIFIER
score_body : music
score_body : score_body lilypond_header
score_body : score_body output_def
script_abbreviation : ANGLE_CLOSE
script_abbreviation : '!'
script_abbreviation : '+'
script_abbreviation : '-'
script_abbreviation : '.'
script_abbreviation : '^'
script_abbreviation : '_'
script_dir : '-'
script_dir : '^'
script_dir : '_'
sequential_music : SEQUENTIAL braced_music_list
sequential_music : braced_music_list
simple_chord_elements : simple_element
simple_element : RESTNAME optional_notemode_duration
simple_element : pitch exclamations questions octave_check optional_notemode_duration optional_rest
p_simple_markup__MARKUP_FUNCTION__markup_command_basic_arguments
(p)simple_markup : MARKUP_FUNCTION markup_command_basic_arguments
simple_markup : MARKUP_IDENTIFIER
simple_markup : SCORE '{' score_body '}'
simple_markup : STRING
simple_markup : STRING_IDENTIFIER
simple_music : context_change
simple_music : event_chord
simple_music : music_property_def
p_simple_music_property_def__OVERRIDE__context_prop_spec__property_path__Chr61__scalar
(p)simple_music_property_def : OVERRIDE context_prop_spec property_path '=' scalar
p_simple_music_property_def__REVERT__context_prop_spec__embedded_scm
(p)simple_music_property_def : REVERT context_prop_spec embedded_scm
p_simple_music_property_def__SET__context_prop_spec__Chr61__scalar
(p)simple_music_property_def : SET context_prop_spec '=' scalar
simple_music_property_def : UNSET context_prop_spec
simple_string : STRING
simple_string : STRING_IDENTIFIER
p_simultaneous_music__DOUBLE_ANGLE_OPEN__music_list__DOUBLE_ANGLE_CLOSE
(p)simultaneous_music : DOUBLE_ANGLE_OPEN music_list DOUBLE_ANGLE_CLOSE
simultaneous_music : SIMULTANEOUS braced_music_list
start_symbol : lilypond
steno_duration : DURATION_IDENTIFIER dots
steno_duration : bare_unsigned dots
steno_pitch : NOTENAME_PITCH
steno_pitch : NOTENAME_PITCH sub_quotes
steno_pitch : NOTENAME_PITCH sup_quotes
steno_tonic_pitch : TONICNAME_PITCH
steno_tonic_pitch : TONICNAME_PITCH sub_quotes
steno_tonic_pitch : TONICNAME_PITCH sup_quotes
string : STRING
string : STRING_IDENTIFIER
string : string '+' string
string_number_event : E_UNSIGNED
sub_quotes : ','
sub_quotes : sub_quotes ','
sup_quotes : '''
sup_quotes : sup_quotes '''
tempo_event : TEMPO scalar
p_tempo_event__TEMPO__scalar_closed__steno_duration__Chr61__tempo_range
(p)tempo_event : TEMPO scalar_closed steno_duration '=' tempo_range
tempo_event : TEMPO steno_duration '=' tempo_range
tempo_range : bare_unsigned
tempo_range : bare_unsigned '-' bare_unsigned
toplevel_expression : composite_music
toplevel_expression : full_markup
toplevel_expression : full_markup_list
toplevel_expression : lilypond_header
toplevel_expression : output_def
toplevel_expression : score_block
tremolo_type : ':'
tremolo_type : ':' bare_unsigned
- p_assignment__assignment_id__Chr61__identifier_init(p)[source]
assignment : assignment_id ‘=’ identifier_init
- p_chord_body__ANGLE_OPEN__chord_body_elements__ANGLE_CLOSE(p)[source]
chord_body : ANGLE_OPEN chord_body_elements ANGLE_CLOSE
- p_chord_body_element__music_function_chord_body(p)[source]
chord_body_element : music_function_chord_body
- p_chord_body_element__pitch__exclamations__questions__octave_check__post_events(p)[source]
chord_body_element : pitch exclamations questions octave_check post_events
- p_chord_body_elements__chord_body_elements__chord_body_element(p)[source]
chord_body_elements : chord_body_elements chord_body_element
- p_closed_music__complex_music_prefix__closed_music(p)[source]
closed_music : complex_music_prefix closed_music
- p_complex_music_prefix__CONTEXT__simple_string__optional_id__optional_context_mod(p)[source]
complex_music_prefix : CONTEXT simple_string optional_id optional_context_mod
- p_complex_music_prefix__NEWCONTEXT__simple_string__optional_id__optional_context_mod(p)[source]
complex_music_prefix : NEWCONTEXT simple_string optional_id optional_context_mod
- p_context_change__CHANGE__STRING__Chr61__STRING(p)[source]
context_change : CHANGE STRING ‘=’ STRING
- p_context_def_spec_block__CONTEXT__Chr123__context_def_spec_body__Chr125(p)[source]
context_def_spec_block : CONTEXT ‘{’ context_def_spec_body ‘}’
- p_context_def_spec_body__CONTEXT_DEF_IDENTIFIER(p)[source]
context_def_spec_body : CONTEXT_DEF_IDENTIFIER
- p_context_def_spec_body__context_def_spec_body__context_mod(p)[source]
context_def_spec_body : context_def_spec_body context_mod
- p_context_def_spec_body__context_def_spec_body__context_modification(p)[source]
context_def_spec_body : context_def_spec_body context_modification
- p_context_def_spec_body__context_def_spec_body__embedded_scm(p)[source]
context_def_spec_body : context_def_spec_body embedded_scm
- p_context_mod_list__context_mod_list__CONTEXT_MOD_IDENTIFIER(p)[source]
context_mod_list : context_mod_list CONTEXT_MOD_IDENTIFIER
- p_context_mod_list__context_mod_list__context_mod(p)[source]
context_mod_list : context_mod_list context_mod
- p_context_mod_list__context_mod_list__embedded_scm(p)[source]
context_mod_list : context_mod_list embedded_scm
- p_context_modification__CONTEXT_MOD_IDENTIFIER(p)[source]
context_modification : CONTEXT_MOD_IDENTIFIER
- p_context_modification__WITH__CONTEXT_MOD_IDENTIFIER(p)[source]
context_modification : WITH CONTEXT_MOD_IDENTIFIER
- p_context_modification__WITH__Chr123__context_mod_list__Chr125(p)[source]
context_modification : WITH ‘{’ context_mod_list ‘}’
- p_context_modification__WITH__embedded_scm_closed(p)[source]
context_modification : WITH embedded_scm_closed
- p_context_prop_spec__simple_string__Chr46__simple_string(p)[source]
context_prop_spec : simple_string ‘.’ simple_string
- p_direction_less_event__event_function_event(p)[source]
direction_less_event : event_function_event
- p_embedded_scm_arg_closed__embedded_scm_bare_arg(p)[source]
embedded_scm_arg_closed : embedded_scm_bare_arg
- p_embedded_scm_arg_closed__scm_function_call_closed(p)[source]
embedded_scm_arg_closed : scm_function_call_closed
- p_embedded_scm_bare_arg__context_def_spec_block(p)[source]
embedded_scm_bare_arg : context_def_spec_block
- p_embedded_scm_bare_arg__context_modification(p)[source]
embedded_scm_bare_arg : context_modification
- p_embedded_scm_chord_body__SCM_FUNCTION__music_function_chord_body_arglist(p)[source]
embedded_scm_chord_body : SCM_FUNCTION music_function_chord_body_arglist
- p_embedded_scm_chord_body__chord_body_element(p)[source]
embedded_scm_chord_body : chord_body_element
- p_embedded_scm_chord_body__embedded_scm_bare_arg(p)[source]
embedded_scm_chord_body : embedded_scm_bare_arg
- p_embedded_scm_closed__scm_function_call_closed(p)[source]
embedded_scm_closed : scm_function_call_closed
- p_event_chord__CHORD_REPETITION__optional_notemode_duration__post_events(p)[source]
event_chord : CHORD_REPETITION optional_notemode_duration post_events
- p_event_chord__MULTI_MEASURE_REST__optional_notemode_duration__post_events(p)[source]
event_chord : MULTI_MEASURE_REST optional_notemode_duration post_events
- p_event_chord__simple_chord_elements__post_events(p)[source]
event_chord : simple_chord_elements post_events
- p_event_function_event__EVENT_FUNCTION__function_arglist_closed(p)[source]
event_function_event : EVENT_FUNCTION function_arglist_closed
- p_function_arglist__function_arglist_nonbackup(p)[source]
function_arglist : function_arglist_nonbackup
- p_function_arglist_backup__EXPECT_OPTIONAL__EXPECT_DURATION__function_arglist_closed_keep__duration_length(p)[source]
function_arglist_backup : EXPECT_OPTIONAL EXPECT_DURATION function_arglist_closed_keep duration_length
- p_function_arglist_backup__EXPECT_OPTIONAL__EXPECT_PITCH__function_arglist_keep__pitch_also_in_chords(p)[source]
function_arglist_backup : EXPECT_OPTIONAL EXPECT_PITCH function_arglist_keep pitch_also_in_chords
- p_function_arglist_backup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_backup__BACKUP(p)[source]
function_arglist_backup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_backup BACKUP
- p_function_arglist_backup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_closed_keep__Chr45__NUMBER_IDENTIFIER(p)[source]
function_arglist_backup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed_keep ‘-’ NUMBER_IDENTIFIER
- p_function_arglist_backup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_closed_keep__Chr45__REAL(p)[source]
function_arglist_backup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed_keep ‘-’ REAL
- p_function_arglist_backup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_closed_keep__Chr45__UNSIGNED(p)[source]
function_arglist_backup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed_keep ‘-’ UNSIGNED
- p_function_arglist_backup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_closed_keep__FRACTION(p)[source]
function_arglist_backup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed_keep FRACTION
- p_function_arglist_backup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_closed_keep__NUMBER_IDENTIFIER(p)[source]
function_arglist_backup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed_keep NUMBER_IDENTIFIER
- p_function_arglist_backup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_closed_keep__REAL(p)[source]
function_arglist_backup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed_keep REAL
- p_function_arglist_backup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_closed_keep__UNSIGNED(p)[source]
function_arglist_backup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed_keep UNSIGNED
- p_function_arglist_backup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_closed_keep__post_event_nofinger(p)[source]
function_arglist_backup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed_keep post_event_nofinger
- p_function_arglist_backup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_keep__embedded_scm_arg_closed(p)[source]
function_arglist_backup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_keep embedded_scm_arg_closed
- p_function_arglist_backup__function_arglist_backup__REPARSE__bare_number(p)[source]
function_arglist_backup : function_arglist_backup REPARSE bare_number
- p_function_arglist_backup__function_arglist_backup__REPARSE__embedded_scm_arg_closed(p)[source]
function_arglist_backup : function_arglist_backup REPARSE embedded_scm_arg_closed
- p_function_arglist_backup__function_arglist_backup__REPARSE__fraction(p)[source]
function_arglist_backup : function_arglist_backup REPARSE fraction
- p_function_arglist_bare__EXPECT_DURATION__function_arglist_closed_optional__duration_length(p)[source]
function_arglist_bare : EXPECT_DURATION function_arglist_closed_optional duration_length
- p_function_arglist_bare__EXPECT_NO_MORE_ARGS(p)[source]
function_arglist_bare : EXPECT_NO_MORE_ARGS
- p_function_arglist_bare__EXPECT_OPTIONAL__EXPECT_DURATION__function_arglist_skip__DEFAULT(p)[source]
function_arglist_bare : EXPECT_OPTIONAL EXPECT_DURATION function_arglist_skip DEFAULT
- p_function_arglist_bare__EXPECT_OPTIONAL__EXPECT_PITCH__function_arglist_skip__DEFAULT(p)[source]
function_arglist_bare : EXPECT_OPTIONAL EXPECT_PITCH function_arglist_skip DEFAULT
- p_function_arglist_bare__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_skip__DEFAULT(p)[source]
function_arglist_bare : EXPECT_OPTIONAL EXPECT_SCM function_arglist_skip DEFAULT
- p_function_arglist_bare__EXPECT_PITCH__function_arglist_optional__pitch_also_in_chords(p)[source]
function_arglist_bare : EXPECT_PITCH function_arglist_optional pitch_also_in_chords
- p_function_arglist_closed__function_arglist_closed_common(p)[source]
function_arglist_closed : function_arglist_closed_common
- p_function_arglist_closed__function_arglist_nonbackup(p)[source]
function_arglist_closed : function_arglist_nonbackup
- p_function_arglist_closed_common__EXPECT_SCM__function_arglist_closed_optional__Chr45__NUMBER_IDENTIFIER(p)[source]
function_arglist_closed_common : EXPECT_SCM function_arglist_closed_optional ‘-’ NUMBER_IDENTIFIER
- p_function_arglist_closed_common__EXPECT_SCM__function_arglist_closed_optional__Chr45__REAL(p)[source]
function_arglist_closed_common : EXPECT_SCM function_arglist_closed_optional ‘-’ REAL
- p_function_arglist_closed_common__EXPECT_SCM__function_arglist_closed_optional__Chr45__UNSIGNED(p)[source]
function_arglist_closed_common : EXPECT_SCM function_arglist_closed_optional ‘-’ UNSIGNED
- p_function_arglist_closed_common__EXPECT_SCM__function_arglist_closed_optional__bare_number(p)[source]
function_arglist_closed_common : EXPECT_SCM function_arglist_closed_optional bare_number
- p_function_arglist_closed_common__EXPECT_SCM__function_arglist_closed_optional__fraction(p)[source]
function_arglist_closed_common : EXPECT_SCM function_arglist_closed_optional fraction
- p_function_arglist_closed_common__EXPECT_SCM__function_arglist_closed_optional__post_event_nofinger(p)[source]
function_arglist_closed_common : EXPECT_SCM function_arglist_closed_optional post_event_nofinger
- p_function_arglist_closed_common__EXPECT_SCM__function_arglist_optional__embedded_scm_arg_closed(p)[source]
function_arglist_closed_common : EXPECT_SCM function_arglist_optional embedded_scm_arg_closed
- p_function_arglist_closed_common__function_arglist_bare(p)[source]
function_arglist_closed_common : function_arglist_bare
- p_function_arglist_closed_keep__function_arglist_backup(p)[source]
function_arglist_closed_keep : function_arglist_backup
- p_function_arglist_closed_keep__function_arglist_closed_common(p)[source]
function_arglist_closed_keep : function_arglist_closed_common
- p_function_arglist_closed_optional__EXPECT_OPTIONAL__EXPECT_DURATION__function_arglist_closed_optional(p)[source]
function_arglist_closed_optional : EXPECT_OPTIONAL EXPECT_DURATION function_arglist_closed_optional
- p_function_arglist_closed_optional__EXPECT_OPTIONAL__EXPECT_PITCH__function_arglist_closed_optional(p)[source]
function_arglist_closed_optional : EXPECT_OPTIONAL EXPECT_PITCH function_arglist_closed_optional
- p_function_arglist_closed_optional__function_arglist_backup__BACKUP(p)[source]
function_arglist_closed_optional : function_arglist_backup BACKUP
- p_function_arglist_closed_optional__function_arglist_closed_keep(p)[source]
function_arglist_closed_optional : function_arglist_closed_keep %prec FUNCTION_ARGLIST
- p_function_arglist_common__EXPECT_SCM__function_arglist_closed_optional__bare_number(p)[source]
function_arglist_common : EXPECT_SCM function_arglist_closed_optional bare_number
- p_function_arglist_common__EXPECT_SCM__function_arglist_closed_optional__fraction(p)[source]
function_arglist_common : EXPECT_SCM function_arglist_closed_optional fraction
- p_function_arglist_common__EXPECT_SCM__function_arglist_closed_optional__post_event_nofinger(p)[source]
function_arglist_common : EXPECT_SCM function_arglist_closed_optional post_event_nofinger
- p_function_arglist_common__EXPECT_SCM__function_arglist_optional__embedded_scm_arg(p)[source]
function_arglist_common : EXPECT_SCM function_arglist_optional embedded_scm_arg
- p_function_arglist_common__function_arglist_bare(p)[source]
function_arglist_common : function_arglist_bare
- p_function_arglist_common__function_arglist_common_minus(p)[source]
function_arglist_common : function_arglist_common_minus
- p_function_arglist_common_minus__EXPECT_SCM__function_arglist_closed_optional__Chr45__NUMBER_IDENTIFIER(p)[source]
function_arglist_common_minus : EXPECT_SCM function_arglist_closed_optional ‘-’ NUMBER_IDENTIFIER
- p_function_arglist_common_minus__EXPECT_SCM__function_arglist_closed_optional__Chr45__REAL(p)[source]
function_arglist_common_minus : EXPECT_SCM function_arglist_closed_optional ‘-’ REAL
- p_function_arglist_common_minus__EXPECT_SCM__function_arglist_closed_optional__Chr45__UNSIGNED(p)[source]
function_arglist_common_minus : EXPECT_SCM function_arglist_closed_optional ‘-’ UNSIGNED
- p_function_arglist_common_minus__function_arglist_common_minus__REPARSE__bare_number(p)[source]
function_arglist_common_minus : function_arglist_common_minus REPARSE bare_number
- p_function_arglist_keep__function_arglist_backup(p)[source]
function_arglist_keep : function_arglist_backup
- p_function_arglist_keep__function_arglist_common(p)[source]
function_arglist_keep : function_arglist_common
- p_function_arglist_nonbackup__EXPECT_OPTIONAL__EXPECT_DURATION__function_arglist_closed__duration_length(p)[source]
function_arglist_nonbackup : EXPECT_OPTIONAL EXPECT_DURATION function_arglist_closed duration_length
- p_function_arglist_nonbackup__EXPECT_OPTIONAL__EXPECT_PITCH__function_arglist__pitch_also_in_chords(p)[source]
function_arglist_nonbackup : EXPECT_OPTIONAL EXPECT_PITCH function_arglist pitch_also_in_chords
- p_function_arglist_nonbackup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist__embedded_scm_arg_closed(p)[source]
function_arglist_nonbackup : EXPECT_OPTIONAL EXPECT_SCM function_arglist embedded_scm_arg_closed
- p_function_arglist_nonbackup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_closed__Chr45__NUMBER_IDENTIFIER(p)[source]
function_arglist_nonbackup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed ‘-’ NUMBER_IDENTIFIER
- p_function_arglist_nonbackup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_closed__Chr45__REAL(p)[source]
function_arglist_nonbackup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed ‘-’ REAL
- p_function_arglist_nonbackup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_closed__Chr45__UNSIGNED(p)[source]
function_arglist_nonbackup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed ‘-’ UNSIGNED
- p_function_arglist_nonbackup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_closed__FRACTION(p)[source]
function_arglist_nonbackup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed FRACTION
- p_function_arglist_nonbackup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_closed__bare_number_closed(p)[source]
function_arglist_nonbackup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed bare_number_closed
- p_function_arglist_nonbackup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_closed__post_event_nofinger(p)[source]
function_arglist_nonbackup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed post_event_nofinger
- p_function_arglist_optional__EXPECT_OPTIONAL__EXPECT_DURATION__function_arglist_optional(p)[source]
function_arglist_optional : EXPECT_OPTIONAL EXPECT_DURATION function_arglist_optional
- p_function_arglist_optional__EXPECT_OPTIONAL__EXPECT_PITCH__function_arglist_optional(p)[source]
function_arglist_optional : EXPECT_OPTIONAL EXPECT_PITCH function_arglist_optional
- p_function_arglist_optional__function_arglist_backup__BACKUP(p)[source]
function_arglist_optional : function_arglist_backup BACKUP
- p_function_arglist_optional__function_arglist_keep(p)[source]
function_arglist_optional : function_arglist_keep %prec FUNCTION_ARGLIST
- p_function_arglist_skip__EXPECT_OPTIONAL__EXPECT_DURATION__function_arglist_skip(p)[source]
function_arglist_skip : EXPECT_OPTIONAL EXPECT_DURATION function_arglist_skip %prec FUNCTION_ARGLIST
- p_function_arglist_skip__EXPECT_OPTIONAL__EXPECT_PITCH__function_arglist_skip(p)[source]
function_arglist_skip : EXPECT_OPTIONAL EXPECT_PITCH function_arglist_skip %prec FUNCTION_ARGLIST
- p_function_arglist_skip__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_skip(p)[source]
function_arglist_skip : EXPECT_OPTIONAL EXPECT_SCM function_arglist_skip %prec FUNCTION_ARGLIST
- p_function_arglist_skip__function_arglist_common(p)[source]
function_arglist_skip : function_arglist_common
- p_lilypond_header__HEADER__Chr123__lilypond_header_body__Chr125(p)[source]
lilypond_header : HEADER ‘{’ lilypond_header_body ‘}’
- p_lilypond_header_body__lilypond_header_body__assignment(p)[source]
lilypond_header_body : lilypond_header_body assignment
- p_markup_braced_list__Chr123__markup_braced_list_body__Chr125(p)[source]
markup_braced_list : ‘{’ markup_braced_list_body ‘}’
- p_markup_braced_list_body__markup_braced_list_body__markup(p)[source]
markup_braced_list_body : markup_braced_list_body markup
- p_markup_braced_list_body__markup_braced_list_body__markup_list(p)[source]
markup_braced_list_body : markup_braced_list_body markup_list
- p_markup_command_basic_arguments__EXPECT_MARKUP_LIST__markup_command_list_arguments__markup_list(p)[source]
markup_command_basic_arguments : EXPECT_MARKUP_LIST markup_command_list_arguments markup_list
- p_markup_command_basic_arguments__EXPECT_NO_MORE_ARGS(p)[source]
markup_command_basic_arguments : EXPECT_NO_MORE_ARGS
- p_markup_command_basic_arguments__EXPECT_SCM__markup_command_list_arguments__embedded_scm_closed(p)[source]
markup_command_basic_arguments : EXPECT_SCM markup_command_list_arguments embedded_scm_closed
- p_markup_command_list__MARKUP_LIST_FUNCTION__markup_command_list_arguments(p)[source]
markup_command_list : MARKUP_LIST_FUNCTION markup_command_list_arguments
- p_markup_command_list_arguments__EXPECT_MARKUP__markup_command_list_arguments__markup(p)[source]
markup_command_list_arguments : EXPECT_MARKUP markup_command_list_arguments markup
- p_markup_command_list_arguments__markup_command_basic_arguments(p)[source]
markup_command_list_arguments : markup_command_basic_arguments
- p_markup_composed_list__markup_head_1_list__markup_braced_list(p)[source]
markup_composed_list : markup_head_1_list markup_braced_list
- p_markup_head_1_item__MARKUP_FUNCTION__EXPECT_MARKUP__markup_command_list_arguments(p)[source]
markup_head_1_item : MARKUP_FUNCTION EXPECT_MARKUP markup_command_list_arguments
- p_markup_head_1_list__markup_head_1_list__markup_head_1_item(p)[source]
markup_head_1_list : markup_head_1_list markup_head_1_item
- p_markup_list__markup_scm__MARKUPLIST_IDENTIFIER(p)[source]
markup_list : markup_scm MARKUPLIST_IDENTIFIER
- p_markup_top__markup_head_1_list__simple_markup(p)[source]
markup_top : markup_head_1_list simple_markup
- p_multiplied_duration__multiplied_duration__Chr42__FRACTION(p)[source]
multiplied_duration : multiplied_duration ‘*’ FRACTION
- p_multiplied_duration__multiplied_duration__Chr42__bare_unsigned(p)[source]
multiplied_duration : multiplied_duration ‘*’ bare_unsigned
- p_music_function_call__MUSIC_FUNCTION__function_arglist(p)[source]
music_function_call : MUSIC_FUNCTION function_arglist
- p_music_function_chord_body__MUSIC_FUNCTION__music_function_chord_body_arglist(p)[source]
music_function_chord_body : MUSIC_FUNCTION music_function_chord_body_arglist
- p_music_function_chord_body_arglist__EXPECT_SCM__music_function_chord_body_arglist__embedded_scm_chord_body(p)[source]
music_function_chord_body_arglist : EXPECT_SCM music_function_chord_body_arglist embedded_scm_chord_body
- p_music_function_chord_body_arglist__function_arglist_bare(p)[source]
music_function_chord_body_arglist : function_arglist_bare
- p_music_function_event__MUSIC_FUNCTION__function_arglist_closed(p)[source]
music_function_event : MUSIC_FUNCTION function_arglist_closed
- p_music_property_def__simple_music_property_def(p)[source]
music_property_def : simple_music_property_def
- p_note_chord_element__chord_body__optional_notemode_duration__post_events(p)[source]
note_chord_element : chord_body optional_notemode_duration post_events
- p_number_expression__number_expression__Chr43__number_term(p)[source]
number_expression : number_expression ‘+’ number_term
- p_number_expression__number_expression__Chr45__number_term(p)[source]
number_expression : number_expression ‘-’ number_term
- p_number_term__number_factor__Chr42__number_factor(p)[source]
number_term : number_factor ‘*’ number_factor
- p_number_term__number_factor__Chr47__number_factor(p)[source]
number_term : number_factor ‘/’ number_factor
- p_optional_context_mod__context_modification(p)[source]
optional_context_mod : context_modification
- p_optional_notemode_duration__multiplied_duration(p)[source]
optional_notemode_duration : multiplied_duration
- p_output_def_body__output_def_body__assignment(p)[source]
output_def_body : output_def_body assignment
- p_output_def_body__output_def_head_with_mode_switch__Chr123(p)[source]
output_def_body : output_def_head_with_mode_switch ‘{’
- p_output_def_body__output_def_head_with_mode_switch__Chr123__OUTPUT_DEF_IDENTIFIER(p)[source]
output_def_body : output_def_head_with_mode_switch ‘{’ OUTPUT_DEF_IDENTIFIER
- p_output_def_head_with_mode_switch__output_def_head(p)[source]
output_def_head_with_mode_switch : output_def_head
- p_post_event_nofinger__script_dir__direction_less_event(p)[source]
post_event_nofinger : script_dir direction_less_event
- p_post_event_nofinger__script_dir__direction_reqd_event(p)[source]
post_event_nofinger : script_dir direction_reqd_event
- p_post_event_nofinger__script_dir__music_function_event(p)[source]
post_event_nofinger : script_dir music_function_event
- p_property_operation__OVERRIDE__simple_string__property_path__Chr61__scalar(p)[source]
property_operation : OVERRIDE simple_string property_path ‘=’ scalar
- p_property_operation__REVERT__simple_string__embedded_scm(p)[source]
property_operation : REVERT simple_string embedded_scm
- p_property_path_revved__property_path_revved__embedded_scm_closed(p)[source]
property_path_revved : property_path_revved embedded_scm_closed
- p_scm_function_call__SCM_FUNCTION__function_arglist(p)[source]
scm_function_call : SCM_FUNCTION function_arglist
- p_scm_function_call_closed__SCM_FUNCTION__function_arglist_closed(p)[source]
scm_function_call_closed : SCM_FUNCTION function_arglist_closed %prec FUNCTION_ARGLIST
- p_sequential_music__SEQUENTIAL__braced_music_list(p)[source]
sequential_music : SEQUENTIAL braced_music_list
- p_simple_element__RESTNAME__optional_notemode_duration(p)[source]
simple_element : RESTNAME optional_notemode_duration
- p_simple_element__pitch__exclamations__questions__octave_check__optional_notemode_duration__optional_rest(p)[source]
simple_element : pitch exclamations questions octave_check optional_notemode_duration optional_rest
- p_simple_markup__MARKUP_FUNCTION__markup_command_basic_arguments(p)[source]
simple_markup : MARKUP_FUNCTION markup_command_basic_arguments
- p_simple_markup__SCORE__Chr123__score_body__Chr125(p)[source]
simple_markup : SCORE ‘{’ score_body ‘}’
- p_simple_music_property_def__OVERRIDE__context_prop_spec__property_path__Chr61__scalar(p)[source]
simple_music_property_def : OVERRIDE context_prop_spec property_path ‘=’ scalar
- p_simple_music_property_def__REVERT__context_prop_spec__embedded_scm(p)[source]
simple_music_property_def : REVERT context_prop_spec embedded_scm
- p_simple_music_property_def__SET__context_prop_spec__Chr61__scalar(p)[source]
simple_music_property_def : SET context_prop_spec ‘=’ scalar
- p_simple_music_property_def__UNSET__context_prop_spec(p)[source]
simple_music_property_def : UNSET context_prop_spec
- p_simultaneous_music__DOUBLE_ANGLE_OPEN__music_list__DOUBLE_ANGLE_CLOSE(p)[source]
simultaneous_music : DOUBLE_ANGLE_OPEN music_list DOUBLE_ANGLE_CLOSE
- p_simultaneous_music__SIMULTANEOUS__braced_music_list(p)[source]
simultaneous_music : SIMULTANEOUS braced_music_list
- p_steno_tonic_pitch__TONICNAME_PITCH__sub_quotes(p)[source]
steno_tonic_pitch : TONICNAME_PITCH sub_quotes
- p_steno_tonic_pitch__TONICNAME_PITCH__sup_quotes(p)[source]
steno_tonic_pitch : TONICNAME_PITCH sup_quotes
- p_tempo_event__TEMPO__scalar_closed__steno_duration__Chr61__tempo_range(p)[source]
tempo_event : TEMPO scalar_closed steno_duration ‘=’ tempo_range
- p_tempo_event__TEMPO__steno_duration__Chr61__tempo_range(p)[source]
tempo_event : TEMPO steno_duration ‘=’ tempo_range
- class abjad.parsers.parser.SequentialMusic(music=None)[source]
Abjad model of the LilyPond AST sequential music node.
Constructs sequential music.