parser

digraph InheritanceGraph { graph [bgcolor=transparent, color=lightsteelblue2, fontname=Arial, fontsize=10, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, splines=spline, style="dashed, rounded", truecolor=true ]; node [colorscheme=pastel19, fontname=Arial, fontsize=10, height=0, penwidth=2, shape=box, style="filled, rounded", width=0 ]; edge [color=lightslategrey, penwidth=1 ]; subgraph "cluster_abjad.parsers.base" { graph [label="abjad.parsers.base"]; node [color=1]; "abjad.parsers.base.Parser" [URL="../api/abjad/parsers/base.html#abjad.parsers.base.Parser", label=Parser, target=_top]; } subgraph "cluster_abjad.parsers.parser" { graph [label="abjad.parsers.parser"]; node [color=2]; "abjad.parsers.parser.ContextSpeccedMusic" [URL="../api/abjad/parsers/parser.html#abjad.parsers.parser.ContextSpeccedMusic", color=black, fontcolor=white, label="Context\nSpecced\nMusic", target=_top]; "abjad.parsers.parser.GuileProxy" [URL="../api/abjad/parsers/parser.html#abjad.parsers.parser.GuileProxy", color=black, fontcolor=white, label="Guile\nProxy", target=_top]; "abjad.parsers.parser.LilyPondDuration" [URL="../api/abjad/parsers/parser.html#abjad.parsers.parser.LilyPondDuration", color=black, fontcolor=white, label="Lily\nPond\nDuration", target=_top]; "abjad.parsers.parser.LilyPondEvent" [URL="../api/abjad/parsers/parser.html#abjad.parsers.parser.LilyPondEvent", color=black, fontcolor=white, label="Lily\nPond\nEvent", target=_top]; "abjad.parsers.parser.LilyPondFraction" [URL="../api/abjad/parsers/parser.html#abjad.parsers.parser.LilyPondFraction", color=black, fontcolor=white, label="Lily\nPond\nFraction", target=_top]; "abjad.parsers.parser.LilyPondGrammarGenerator" [URL="../api/abjad/parsers/parser.html#abjad.parsers.parser.LilyPondGrammarGenerator", color=black, fontcolor=white, label="Lily\nPond\nGrammar\nGenerator", target=_top]; "abjad.parsers.parser.LilyPondLexicalDefinition" [URL="../api/abjad/parsers/parser.html#abjad.parsers.parser.LilyPondLexicalDefinition", color=black, fontcolor=white, label="Lily\nPond\nLexical\nDefinition", target=_top]; "abjad.parsers.parser.LilyPondParser" [URL="../api/abjad/parsers/parser.html#abjad.parsers.parser.LilyPondParser", color=black, fontcolor=white, label="Lily\nPond\nParser", target=_top]; "abjad.parsers.parser.LilyPondSyntacticalDefinition" [URL="../api/abjad/parsers/parser.html#abjad.parsers.parser.LilyPondSyntacticalDefinition", color=black, fontcolor=white, label="Lily\nPond\nSyntactical\nDefinition", target=_top]; "abjad.parsers.parser.MarkupCommand" [URL="../api/abjad/parsers/parser.html#abjad.parsers.parser.MarkupCommand", color=black, fontcolor=white, label="Markup\nCommand", target=_top]; "abjad.parsers.parser.Music" [URL="../api/abjad/parsers/parser.html#abjad.parsers.parser.Music", color=black, fontcolor=white, label=Music, target=_top]; "abjad.parsers.parser.Music" -> "abjad.parsers.parser.ContextSpeccedMusic" [minlen=1]; "abjad.parsers.parser.SequentialMusic" [URL="../api/abjad/parsers/parser.html#abjad.parsers.parser.SequentialMusic", color=black, fontcolor=white, label="Sequential\nMusic", target=_top]; "abjad.parsers.parser.Music" -> "abjad.parsers.parser.SequentialMusic" [minlen=2]; "abjad.parsers.parser.SimultaneousMusic" [URL="../api/abjad/parsers/parser.html#abjad.parsers.parser.SimultaneousMusic", color=black, fontcolor=white, label="Simultaneous\nMusic", target=_top]; "abjad.parsers.parser.Music" -> "abjad.parsers.parser.SimultaneousMusic" [minlen=3]; "abjad.parsers.parser.SyntaxNode" [URL="../api/abjad/parsers/parser.html#abjad.parsers.parser.SyntaxNode", color=black, fontcolor=white, label="Syntax\nNode", target=_top]; } subgraph cluster_builtins { graph [label=builtins]; node [color=3]; "builtins.object" [URL="https://docs.python.org/3.10/library/functions.html#object", label=object, target=_top]; } "abjad.parsers.base.Parser" -> "abjad.parsers.parser.LilyPondParser" [minlen=1]; "builtins.object" -> "abjad.parsers.base.Parser" [minlen=1]; "builtins.object" -> "abjad.parsers.parser.GuileProxy" [minlen=2]; "builtins.object" -> "abjad.parsers.parser.LilyPondDuration" [minlen=3]; "builtins.object" -> "abjad.parsers.parser.LilyPondEvent" [minlen=1]; "builtins.object" -> "abjad.parsers.parser.LilyPondFraction" [minlen=2]; "builtins.object" -> "abjad.parsers.parser.LilyPondGrammarGenerator" [minlen=3]; "builtins.object" -> "abjad.parsers.parser.LilyPondLexicalDefinition" [minlen=1]; "builtins.object" -> "abjad.parsers.parser.LilyPondSyntacticalDefinition" [minlen=2]; "builtins.object" -> "abjad.parsers.parser.MarkupCommand" [minlen=3]; "builtins.object" -> "abjad.parsers.parser.Music"; "builtins.object" -> "abjad.parsers.parser.SyntaxNode" [minlen=1]; }


Classes

ContextSpeccedMusic

Abjad model of the LilyPond AST context-specced music node.

GuileProxy

Emulates LilyPond music functions.

LilyPondDuration

Model of a duration in LilyPond.

LilyPondEvent

Model of an arbitrary event in LilyPond.

LilyPondFraction

Model of a fraction in LilyPond.

LilyPondGrammarGenerator

Generates a syntax skeleton from LilyPond grammar files.

LilyPondLexicalDefinition

The lexical definition of LilyPond's syntax.

LilyPondParser

A LilyPond syntax parser.

LilyPondSyntacticalDefinition

The syntactical definition of LilyPond's syntax.

MarkupCommand

LilyPond markup command.

Music

Abjad model of the LilyPond AST music node.

SequentialMusic

Abjad model of the LilyPond AST sequential music node.

SimultaneousMusic

Abjad model of the LilyPond AST simultaneous music node.

SyntaxNode

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.


Attributes Summary

construct

Constructs context.

known_contexts

Known contexts.


Methods

construct()[source]

Constructs context.

Returns context.


Read-only properties

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.


Attributes Summary

__call__

Calls Guile proxy on function_name with arguments.

acciaccatura

Handles LilyPond \acciaccatura command.

appoggiatura

Handles LilyPond \appoggiatura command.

bar

Handles LilyPond \bar command.

breathe

Handles LilyPond \breathe command.

clef

Handles LilyPond \clef command.

grace

Handles LilyPond \grace command.

key

Handles LilyPond \key command.

language

Handles LilyPond \language command.

makeClusters

Handles LilyPond \makeClusters command.

mark

Handles LilyPond \mark command.

oneVoice

Handles LilyPond \oneVoice command.

relative

Handles LilyPond \relative command.

skip

Handles LilyPond \skip command.

slashed_grace_container

Handles LilyPond \slashedGrace command.

time

Handles LilyPond \time command.

times

Handles LilyPond \times command.

transpose

Handles LilyPond \transpose command.

tuplet

Handles LilyPond \tuplet command.

voiceFour

Handles LilyPond \voiceFour command.

voiceOne

Handles LilyPond \voiceOnce command.

voiceThree

Handles LilyPond \voiceThree command.

voiceTwo

Handles LilyPond \voiceTwo command.


Special methods

overridden __call__(function_name, arguments)[source]

Calls Guile proxy on function_name with arguments.

Returns function output.


Methods

acciaccatura(music)[source]

Handles LilyPond \acciaccatura command.

appoggiatura(music)[source]

Handles LilyPond \appoggiatura command.

bar(string)[source]

Handles LilyPond \bar command.

breathe()[source]

Handles LilyPond \breathe command.

clef(string)[source]

Handles LilyPond \clef command.

grace(music)[source]

Handles LilyPond \grace command.

key(notename_pitch, number_list)[source]

Handles LilyPond \key command.

language(string)[source]

Handles LilyPond \language command.

makeClusters(music)[source]

Handles LilyPond \makeClusters command.

mark(label)[source]

Handles LilyPond \mark command.

oneVoice()[source]

Handles LilyPond \oneVoice command.

relative(pitch, music)[source]

Handles LilyPond \relative command.

skip(duration)[source]

Handles LilyPond \skip command.

slashed_grace_container(music)[source]

Handles LilyPond \slashedGrace command.

time(number_list, fraction)[source]

Handles LilyPond \time command.

times(fraction, music)[source]

Handles LilyPond \times command.

transpose(from_pitch, to_pitch, music)[source]

Handles LilyPond \transpose command.

tuplet(fraction, _optional, music)[source]

Handles LilyPond \tuplet command.

The _optional parameter appears to get passed in but is unused.

voiceFour()[source]

Handles LilyPond \voiceFour command.

voiceOne()[source]

Handles LilyPond \voiceOnce command.

voiceThree()[source]

Handles LilyPond \voiceThree command.

voiceTwo()[source]

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.


Attributes Summary

__repr__

Gets interpreter representation of LilyPond event.


Special methods

overridden __repr__()[source]

Gets interpreter representation of LilyPond event.

Returns string.

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.


Attributes Summary

__call__

Calls LilyPond grammar generator.


Special methods

overridden __call__(skeleton_path, parser_output_path, parser_tab_hh_path)[source]

Calls LilyPond grammar generator.

class abjad.parsers.parser.LilyPondLexicalDefinition(client=None, *, tag=None)[source]

The lexical definition of LilyPond’s syntax.

Effectively equivalent to LilyPond’s lexer.ll file.

Not composer-safe.

Used internally by LilyPondParser.


Attributes Summary

A

AA

ACCENT

ALPHAWORD

AN

ANY_CHAR

BLACK

BOM_UTF8

DASHED_KEY_WORD

DASHED_WORD

DIGIT

ESCAPED

EXTENDER

E_UNSIGNED

FRACTION

HORIZONTALWHITE

HYPHEN

INT

KEYWORD

LYRICS

MARKUPCOMMAND

N

NATIONAL

NOTECOMMAND

PUNCT

REAL

RESTNAME

TEX

UNSIGNED

WHITE

WORD

keywords

literals

push_signature

scan_bare_word

scan_escaped_word

states

string_accumulator

t_651_a

t_651_b

t_661

-.

t_666

t_ANY_165

r

t_INITIAL_643

t_INITIAL_646

t_INITIAL_markup_notes_210

%{

t_INITIAL_markup_notes_214

%[^{nr][^nr]*[nr]

t_INITIAL_markup_notes_214_EOF

%[^{nr][^nr]*$

t_INITIAL_markup_notes_216

%[^{nr]

t_INITIAL_markup_notes_218

%[nr]

t_INITIAL_markup_notes_220

%[^{nr][^nr]*

t_INITIAL_markup_notes_222

[

t_INITIAL_markup_notes_227

"

t_INITIAL_markup_notes_353

#

t_INITIAL_notes_233

\version[ ntfr]*

t_INITIAL_notes_387

<<

t_INITIAL_notes_390

>>

t_INITIAL_notes_396

<

t_INITIAL_notes_399

>

t_INITIAL_notes_686

\.

t_error

t_ignore

t_longcomment_291

[^%]+

t_longcomment_293

%+[^}%]*

t_longcomment_296

%}

t_longcomment_error

t_longcomment_ignore

t_markup_545

\score

t_markup_548

t_markup_601

[^#{}"\ tnrf]+

t_markup_error

t_markup_ignore

t_newline

n+

t_notes_417

t_notes_421

t_notes_424

t_notes_428

t_notes_428b

t_notes_433

t_notes_error

t_notes_ignore

t_quote_440

t_quote_443

[^\""]+

t_quote_446

"

t_quote_456

.

t_quote_XXX

\"

t_quote_error

t_quote_ignore

t_scheme_error

t_scheme_ignore

t_version_242

"[^"]*"

t_version_278

t_version_341

"[^"]*

t_version_error

t_version_ignore

tokens


Methods

push_signature(signature, t)[source]
scan_bare_word(t)[source]
scan_escaped_word(t)[source]
t_651_a(t)[source]
t_651_b(t)[source]
t_661(t)[source]

-.

t_666(t)[source]
t_ANY_165(t)[source]

r

t_INITIAL_643(t)[source]
t_INITIAL_646(t)[source]
t_INITIAL_markup_notes_210(t)[source]

%{

t_INITIAL_markup_notes_214(t)[source]

%[^{nr][^nr]*[nr]

t_INITIAL_markup_notes_214_EOF(t)[source]

%[^{nr][^nr]*$

t_INITIAL_markup_notes_216(t)[source]

%[^{nr]

t_INITIAL_markup_notes_218(t)[source]

%[nr]

t_INITIAL_markup_notes_220(t)[source]

%[^{nr][^nr]*

t_INITIAL_markup_notes_222(t)[source]

[

]

t_INITIAL_markup_notes_227(t)[source]

"

t_INITIAL_markup_notes_353(t)[source]

#

t_INITIAL_notes_233(t)[source]

\version[ ntfr]*

t_INITIAL_notes_387(t)[source]

<<

t_INITIAL_notes_390(t)[source]

>>

t_INITIAL_notes_396(t)[source]

<

t_INITIAL_notes_399(t)[source]

>

t_INITIAL_notes_686(t)[source]

\.

t_error(t)[source]
t_longcomment_291(t)[source]

[^%]+

t_longcomment_293(t)[source]

%+[^}%]*

t_longcomment_296(t)[source]

%}

t_longcomment_error(t)
t_markup_545(t)[source]

\score

t_markup_548(t)[source]
t_markup_601(t)[source]

[^#{}"\ tnrf]+

t_markup_error(t)
t_newline(t)[source]

n+

t_notes_417(t)[source]
t_notes_421(t)[source]
t_notes_424(t)[source]
t_notes_428(t)[source]
t_notes_428b(t)[source]
t_notes_433(t)[source]
t_notes_error(t)
t_quote_440(t)[source]
t_quote_443(t)[source]

[^\””]+

t_quote_446(t)[source]

"

t_quote_456(t)[source]

.

t_quote_XXX(t)[source]

\”

t_quote_error(t)
t_scheme_error(t)
t_version_242(t)[source]

"[^”]*"

t_version_278(t)[source]
t_version_341(t)[source]

“[^”]*

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 #)


Attributes Summary

__call__

Calls LilyPond parser on input_string.

available_languages

Tuple of pitch-name languages supported by LilyPondParser.

default_language

Gets and sets default language of parser.

lexer_rules_object

Lexer rules object of LilyPond parser.

list_known_contexts

Lists all LilyPond contexts recognized by LilyPond parser.

list_known_dynamics

Lists all dynamics recognized by LilyPond parser.

list_known_grobs

Lists all LilyPond grobs recognized by LilyPond parser.

list_known_languages

Lists all note-input languages recognized by LilyPond parser.

list_known_markup_functions

Lists all markup functions recognized by LilyPond parser.

list_known_music_functions

Lists all music functions recognized by LilyPond parser.

parser_rules_object

Parser rules object of LilyPond parser.

register_markup_function

Registers a custom markup function globally with LilyPondParser.


Special methods

overridden __call__(input_string)[source]

Calls LilyPond parser on input_string.

Returns Abjad components.


Methods

(Parser).tokenize(string)

Tokenize string and print results.


Class & static methods

static list_known_contexts()[source]

Lists all LilyPond contexts recognized by LilyPond parser.

>>> class_ = abjad.parser.LilyPondParser
>>> for context in class_.list_known_contexts():
...     print(context)
... 
ChoirStaff
ChordNames
CueVoice
Devnull
DrumStaff
DrumVoice
Dynamics
FiguredBass
FretBoards
Global
GrandStaff
GregorianTranscriptionStaff
GregorianTranscriptionVoice
KievanStaff
KievanVoice
Lyrics
MensuralStaff
MensuralVoice
NoteNames
NullVoice
OneStaff
PetrucciStaff
PetrucciVoice
PianoStaff
RhythmicStaff
Score
Staff
StaffGroup
TabStaff
TabVoice
VaticanaStaff
VaticanaVoice
Voice
Return type:

list[str]

static list_known_dynamics()[source]

Lists all dynamics recognized by LilyPond parser.

>>> class_ = abjad.parser.LilyPondParser
>>> for dynamic in class_.list_known_dynamics():
...     print(dynamic)
... 
f
ff
fff
ffff
fffff
fp
fz
mf
mp
p
pp
ppp
pppp
ppppp
rfz
sf
sff
sfp
sfz
sp
spp
Return type:

tuple[str, ...]

static list_known_grobs()[source]

Lists all LilyPond grobs recognized by LilyPond parser.

>>> class_ = abjad.parser.LilyPondParser
>>> for grob in class_.list_known_grobs():
...     print(grob)
... 
Accidental
AccidentalCautionary
AccidentalPlacement
AccidentalSuggestion
Ambitus
AmbitusAccidental
AmbitusLine
AmbitusNoteHead
Arpeggio
BalloonTextItem
BarLine
BarNumber
BassFigure
BassFigureAlignment
BassFigureAlignmentPositioning
BassFigureBracket
BassFigureContinuation
BassFigureLine
Beam
BendAfter
BreakAlignGroup
BreakAlignment
BreathingSign
ChordName
Clef
ClefModifier
ClusterSpanner
ClusterSpannerBeacon
CombineTextScript
CueClef
CueEndClef
Custos
DotColumn
Dots
DoublePercentRepeat
DoublePercentRepeatCounter
DoubleRepeatSlash
DynamicLineSpanner
DynamicText
DynamicTextSpanner
Episema
Fingering
FingeringColumn
Flag
FootnoteItem
FootnoteSpanner
FretBoard
Glissando
GraceSpacing
GridLine
GridPoint
Hairpin
HorizontalBracket
HorizontalBracketText
InstrumentName
InstrumentSwitch
KeyCancellation
KeySignature
KievanLigature
LaissezVibrerTie
LaissezVibrerTieColumn
LedgerLineSpanner
LeftEdge
LigatureBracket
LyricExtender
LyricHyphen
LyricSpace
LyricText
MeasureCounter
MeasureGrouping
MelodyItem
MensuralLigature
MetronomeMark
MultiMeasureRest
MultiMeasureRestNumber
MultiMeasureRestText
NonMusicalPaperColumn
NoteCollision
NoteColumn
NoteHead
NoteName
NoteSpacing
OttavaBracket
PaperColumn
ParenthesesItem
PercentRepeat
PercentRepeatCounter
PhrasingSlur
PianoPedalBracket
RehearsalMark
RepeatSlash
RepeatTie
RepeatTieColumn
Rest
RestCollision
Script
ScriptColumn
ScriptRow
Slur
SostenutoPedal
SostenutoPedalLineSpanner
SpacingSpanner
SpanBar
SpanBarStub
StaffGrouper
StaffSpacing
StaffSymbol
StanzaNumber
Stem
StemStub
StemTremolo
StringNumber
StrokeFinger
SustainPedal
SustainPedalLineSpanner
System
SystemStartBar
SystemStartBrace
SystemStartBracket
SystemStartSquare
TabNoteHead
TextScript
TextSpanner
Tie
TieColumn
TimeSignature
TrillPitchAccidental
TrillPitchGroup
TrillPitchHead
TrillSpanner
TupletBracket
TupletNumber
UnaCordaPedal
UnaCordaPedalLineSpanner
VaticanaLigature
Vertical
VerticalAxisGroup
VoiceFollower
VoltaBracket
VoltaBracketSpanner
Return type:

list[str]

static list_known_languages()[source]

Lists all note-input languages recognized by LilyPond parser.

>>> class_ = abjad.parser.LilyPondParser
>>> for language in class_.list_known_languages():
...     print(language)
... 
catalan
deutsch
english
espanol
español
français
italiano
nederlands
norsk
portugues
suomi
svenska
vlaams
Return type:

list[str]

static list_known_markup_functions()[source]

Lists all markup functions recognized by LilyPond parser.

>>> class_ = abjad.parser.LilyPondParser
>>> for name in class_.list_known_markup_functions():
...     print(name)
... 
abs-fontsize
arrow-head
auto-footnote
backslashed-digit
beam
bold
box
bracket
caps
center-align
center-column
char
circle
column
column-lines
combine
compound-meter
concat
customTabClef
dir-column
doubleflat
doublesharp
draw-circle
draw-dashed-line
draw-dotted-line
draw-hline
draw-line
dynamic
ellipse
epsfile
eyeglasses
fermata
fill-line
fill-with-pattern
filled-box
finger
first-visible
flat
fontCaps
fontsize
footnote
fraction
fret-diagram
fret-diagram-terse
fret-diagram-verbose
fromproperty
general-align
halign
harp-pedal
hbracket
hcenter-in
hspace
huge
italic
justified-lines
justify
justify-field
justify-line
justify-string
large
larger
left-align
left-brace
left-column
line
lookup
lower
magnify
map-markup-commands
markalphabet
markletter
medium
musicglyph
natural
normal-size-sub
normal-size-super
normal-text
normalsize
note
note-by-number
null
number
on-the-fly
oval
override
override-lines
pad
pad-around
pad-to-box
pad-x
page-link
page-ref
parenthesize
path
pattern
postscript
property-recursive
put-adjacent
raise
replace
rest
rest-by-number
right-align
right-brace
right-column
roman
rotate
rounded-box
sans
scale
score
score-lines
semiflat
semisharp
sesquiflat
sesquisharp
sharp
simple
slashed-digit
small
smallCaps
smaller
stencil
strut
sub
super
table-of-contents
teeny
text
tied-lyric
tiny
translate
translate-scaled
transparent
triangle
typewriter
underline
upright
vcenter
verbatim-file
vspace
whiteout
whiteout-box
with-color
with-dimensions
with-link
with-url
woodwind-diagram
wordwrap
wordwrap-field
wordwrap-internal
wordwrap-lines
wordwrap-string
wordwrap-string-internal
Return type:

list[str]

static list_known_music_functions()[source]

Lists all music functions recognized by LilyPond parser.

>>> class_ = abjad.parser.LilyPondParser
>>> for name in class_.list_known_music_functions():
...     print(name)
... 
acciaccatura
appoggiatura
bar
breathe
clef
grace
key
language
makeClusters
mark
relative
skip
time
times
transpose
tuplet
Return type:

list[str]

classmethod register_markup_function(name, signature, undo=None)[source]

Registers a custom markup function globally with LilyPondParser.

>>> name = "my-custom-markup-function"
>>> signature = ["markup?"]
>>> abjad.parser.LilyPondParser.register_markup_function(name, signature)
>>> parser = abjad.parser.LilyPondParser()
>>> string = r"\markup { \my-custom-markup-function { foo bar baz } }"
>>> markup = parser(string)
>>> string = abjad.lilypond(markup)
>>> print(string)
\markup { \my-custom-markup-function
    {
        foo
        bar
        baz
    } }

signature should be a sequence of zero or more type-predicate names, as understood by LilyPond. Consult LilyPond’s documentation for a complete list of all understood type-predicates.

Set undo=True to unregister.

>>> name = "my-custom-markup-function"
>>> signature = ["markup?"]
>>> class_ = abjad.parser.LilyPondParser
>>> class_.register_markup_function(name, signature, undo=True)

NOTE. Added to allow doctests to pass on TravisCI.

Return type:

None


Read/write properties

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')

Read-only properties

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

Returns tuple.

(Parser).debug

Is true when parser runs in debugging mode.

(Parser).lexer

Gets parser’s PLY Lexer instance.

lexer_rules_object

Lexer rules object of LilyPond parser.

(Parser).logger

Gets parser’s logger.

(Parser).logger_path

Gets parser’s logfile output path.

(Parser).output_path

Gets output path for files associated with the parser.

(Parser).parser

Gets parser’s PLY LRParser instance.

parser_rules_object

Parser rules object of LilyPond parser.

(Parser).pickle_path

Gets output path for the parser’s pickled parsing tables.

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.


Attributes Summary

p_assignment__assignment_id__Chr61__identifier_init

assignment : assignment_id '=' identifier_init

p_assignment__embedded_scm

assignment : embedded_scm

p_assignment_id__STRING

assignment_id : STRING

p_bare_number__REAL__NUMBER_IDENTIFIER

bare_number : REAL NUMBER_IDENTIFIER

p_bare_number__UNSIGNED__NUMBER_IDENTIFIER

bare_number : UNSIGNED NUMBER_IDENTIFIER

p_bare_number__bare_number_closed

bare_number : bare_number_closed

p_bare_number_closed__NUMBER_IDENTIFIER

bare_number_closed : NUMBER_IDENTIFIER

p_bare_number_closed__REAL

bare_number_closed : REAL

p_bare_number_closed__UNSIGNED

bare_number_closed : UNSIGNED

p_bare_unsigned__UNSIGNED

bare_unsigned : UNSIGNED

p_braced_music_list__Chr123__music_list__Chr125

braced_music_list : '{' music_list '}'

p_chord_body__ANGLE_OPEN__chord_body_elements__ANGLE_CLOSE

chord_body : ANGLE_OPEN chord_body_elements ANGLE_CLOSE

p_chord_body_element__music_function_chord_body

chord_body_element : music_function_chord_body

p_chord_body_element__pitch__exclamations__questions__octave_check__post_events

chord_body_element : pitch exclamations questions octave_check post_events

p_chord_body_elements__Empty

chord_body_elements :

p_chord_body_elements__chord_body_elements__chord_body_element

chord_body_elements : chord_body_elements chord_body_element

p_closed_music__complex_music_prefix__closed_music

closed_music : complex_music_prefix closed_music

p_closed_music__music_bare

closed_music : music_bare

p_command_element__Chr124

command_element : '|'

p_command_element__E_BACKSLASH

command_element : E_BACKSLASH

p_command_element__command_event

command_element : command_event

p_command_event__tempo_event

command_event : tempo_event

p_complex_music__complex_music_prefix__music

complex_music : complex_music_prefix music

p_complex_music__music_function_call

complex_music : music_function_call

p_complex_music_prefix__CONTEXT__simple_string__optional_id__optional_context_mod

complex_music_prefix : CONTEXT simple_string optional_id optional_context_mod

p_complex_music_prefix__NEWCONTEXT__simple_string__optional_id__optional_context_mod

complex_music_prefix : NEWCONTEXT simple_string optional_id optional_context_mod

p_composite_music__complex_music

composite_music : complex_music

p_composite_music__music_bare

composite_music : music_bare

p_context_change__CHANGE__STRING__Chr61__STRING

context_change : CHANGE STRING '=' STRING

p_context_def_spec_block__CONTEXT__Chr123__context_def_spec_body__Chr125

context_def_spec_block : CONTEXT '{' context_def_spec_body '}'

p_context_def_spec_body__CONTEXT_DEF_IDENTIFIER

context_def_spec_body : CONTEXT_DEF_IDENTIFIER

p_context_def_spec_body__Empty

context_def_spec_body :

p_context_def_spec_body__context_def_spec_body__context_mod

context_def_spec_body : context_def_spec_body context_mod

p_context_def_spec_body__context_def_spec_body__context_modification

context_def_spec_body : context_def_spec_body context_modification

p_context_def_spec_body__context_def_spec_body__embedded_scm

context_def_spec_body : context_def_spec_body embedded_scm

p_context_mod__property_operation

context_mod : property_operation

p_context_mod_list__Empty

context_mod_list :

p_context_mod_list__context_mod_list__CONTEXT_MOD_IDENTIFIER

context_mod_list : context_mod_list CONTEXT_MOD_IDENTIFIER

p_context_mod_list__context_mod_list__context_mod

context_mod_list : context_mod_list context_mod

p_context_mod_list__context_mod_list__embedded_scm

context_mod_list : context_mod_list embedded_scm

p_context_modification__CONTEXT_MOD_IDENTIFIER

context_modification : CONTEXT_MOD_IDENTIFIER

p_context_modification__WITH__CONTEXT_MOD_IDENTIFIER

context_modification : WITH CONTEXT_MOD_IDENTIFIER

p_context_modification__WITH__Chr123__context_mod_list__Chr125

context_modification : WITH '{' context_mod_list '}'

p_context_modification__WITH__embedded_scm_closed

context_modification : WITH embedded_scm_closed

p_context_prop_spec__simple_string

context_prop_spec : simple_string

p_context_prop_spec__simple_string__Chr46__simple_string

context_prop_spec : simple_string '.' simple_string

p_direction_less_char__Chr126

direction_less_char : '~'

p_direction_less_char__Chr40

direction_less_char : '('

p_direction_less_char__Chr41

direction_less_char : ')'

p_direction_less_char__Chr91

direction_less_char : '['

p_direction_less_char__Chr93

direction_less_char : ']'

p_direction_less_char__E_ANGLE_CLOSE

direction_less_char : E_ANGLE_CLOSE

p_direction_less_char__E_ANGLE_OPEN

direction_less_char : E_ANGLE_OPEN

p_direction_less_char__E_CLOSE

direction_less_char : E_CLOSE

p_direction_less_char__E_EXCLAMATION

direction_less_char : E_EXCLAMATION

p_direction_less_char__E_OPEN

direction_less_char : E_OPEN

p_direction_less_event__EVENT_IDENTIFIER

direction_less_event : EVENT_IDENTIFIER

p_direction_less_event__direction_less_char

direction_less_event : direction_less_char

p_direction_less_event__event_function_event

direction_less_event : event_function_event

p_direction_less_event__tremolo_type

direction_less_event : tremolo_type

p_direction_reqd_event__gen_text_def

direction_reqd_event : gen_text_def

p_direction_reqd_event__script_abbreviation

direction_reqd_event : script_abbreviation

p_dots__Empty

dots :

p_dots__dots__Chr46

dots : dots '.'

p_duration_length__multiplied_duration

duration_length : multiplied_duration

p_embedded_scm__embedded_scm_bare

embedded_scm : embedded_scm_bare

p_embedded_scm__scm_function_call

embedded_scm : scm_function_call

p_embedded_scm_arg__embedded_scm_bare_arg

embedded_scm_arg : embedded_scm_bare_arg

p_embedded_scm_arg__music_arg

embedded_scm_arg : music_arg

p_embedded_scm_arg__scm_function_call

embedded_scm_arg : scm_function_call

p_embedded_scm_arg_closed__closed_music

embedded_scm_arg_closed : closed_music

p_embedded_scm_arg_closed__embedded_scm_bare_arg

embedded_scm_arg_closed : embedded_scm_bare_arg

p_embedded_scm_arg_closed__scm_function_call_closed

embedded_scm_arg_closed : scm_function_call_closed

p_embedded_scm_bare__SCM_IDENTIFIER

embedded_scm_bare : SCM_IDENTIFIER

p_embedded_scm_bare__SCM_TOKEN

embedded_scm_bare : SCM_TOKEN

p_embedded_scm_bare_arg__STRING

embedded_scm_bare_arg : STRING

p_embedded_scm_bare_arg__STRING_IDENTIFIER

embedded_scm_bare_arg : STRING_IDENTIFIER

p_embedded_scm_bare_arg__context_def_spec_block

embedded_scm_bare_arg : context_def_spec_block

p_embedded_scm_bare_arg__context_modification

embedded_scm_bare_arg : context_modification

p_embedded_scm_bare_arg__embedded_scm_bare

embedded_scm_bare_arg : embedded_scm_bare

p_embedded_scm_bare_arg__full_markup

embedded_scm_bare_arg : full_markup

p_embedded_scm_bare_arg__full_markup_list

embedded_scm_bare_arg : full_markup_list

p_embedded_scm_bare_arg__output_def

embedded_scm_bare_arg : output_def

p_embedded_scm_bare_arg__score_block

embedded_scm_bare_arg : score_block

p_embedded_scm_chord_body__SCM_FUNCTION__music_function_chord_body_arglist

embedded_scm_chord_body : SCM_FUNCTION music_function_chord_body_arglist

p_embedded_scm_chord_body__bare_number

embedded_scm_chord_body : bare_number

p_embedded_scm_chord_body__chord_body_element

embedded_scm_chord_body : chord_body_element

p_embedded_scm_chord_body__embedded_scm_bare_arg

embedded_scm_chord_body : embedded_scm_bare_arg

p_embedded_scm_chord_body__fraction

embedded_scm_chord_body : fraction

p_embedded_scm_closed__embedded_scm_bare

embedded_scm_closed : embedded_scm_bare

p_embedded_scm_closed__scm_function_call_closed

embedded_scm_closed : scm_function_call_closed

p_error

p_event_chord__CHORD_REPETITION__optional_notemode_duration__post_events

event_chord : CHORD_REPETITION optional_notemode_duration post_events

p_event_chord__MULTI_MEASURE_REST__optional_notemode_duration__post_events

event_chord : MULTI_MEASURE_REST optional_notemode_duration post_events

p_event_chord__command_element

event_chord : command_element

p_event_chord__note_chord_element

event_chord : note_chord_element

p_event_chord__simple_chord_elements__post_events

event_chord : simple_chord_elements post_events

p_event_function_event__EVENT_FUNCTION__function_arglist_closed

event_function_event : EVENT_FUNCTION function_arglist_closed

p_exclamations__Empty

exclamations :

p_exclamations__exclamations__Chr33

exclamations : exclamations '!'

p_fingering__UNSIGNED

fingering : UNSIGNED

p_fraction__FRACTION

fraction : FRACTION

p_fraction__UNSIGNED__Chr47__UNSIGNED

fraction : UNSIGNED '/' UNSIGNED

p_full_markup__MARKUP_IDENTIFIER

full_markup : MARKUP_IDENTIFIER

p_full_markup__MARKUP__markup_top

full_markup : MARKUP markup_top

p_full_markup_list__MARKUPLIST_IDENTIFIER

full_markup_list : MARKUPLIST_IDENTIFIER

p_full_markup_list__MARKUPLIST__markup_list

full_markup_list : MARKUPLIST markup_list

p_function_arglist__function_arglist_common

function_arglist : function_arglist_common

p_function_arglist__function_arglist_nonbackup

function_arglist : function_arglist_nonbackup

p_function_arglist_backup__EXPECT_OPTIONAL__EXPECT_DURATION__function_arglist_closed_keep__duration_length

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

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

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

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

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

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

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

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

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

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

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

function_arglist_backup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_keep embedded_scm_arg_closed

p_function_arglist_backup__function_arglist_backup__REPARSE__bare_number

function_arglist_backup : function_arglist_backup REPARSE bare_number

p_function_arglist_backup__function_arglist_backup__REPARSE__embedded_scm_arg_closed

function_arglist_backup : function_arglist_backup REPARSE embedded_scm_arg_closed

p_function_arglist_backup__function_arglist_backup__REPARSE__fraction

function_arglist_backup : function_arglist_backup REPARSE fraction

p_function_arglist_bare__EXPECT_DURATION__function_arglist_closed_optional__duration_length

function_arglist_bare : EXPECT_DURATION function_arglist_closed_optional duration_length

p_function_arglist_bare__EXPECT_NO_MORE_ARGS

function_arglist_bare : EXPECT_NO_MORE_ARGS

p_function_arglist_bare__EXPECT_OPTIONAL__EXPECT_DURATION__function_arglist_skip__DEFAULT

function_arglist_bare : EXPECT_OPTIONAL EXPECT_DURATION function_arglist_skip DEFAULT

p_function_arglist_bare__EXPECT_OPTIONAL__EXPECT_PITCH__function_arglist_skip__DEFAULT

function_arglist_bare : EXPECT_OPTIONAL EXPECT_PITCH function_arglist_skip DEFAULT

p_function_arglist_bare__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_skip__DEFAULT

function_arglist_bare : EXPECT_OPTIONAL EXPECT_SCM function_arglist_skip DEFAULT

p_function_arglist_bare__EXPECT_PITCH__function_arglist_optional__pitch_also_in_chords

function_arglist_bare : EXPECT_PITCH function_arglist_optional pitch_also_in_chords

p_function_arglist_closed__function_arglist_closed_common

function_arglist_closed : function_arglist_closed_common

p_function_arglist_closed__function_arglist_nonbackup

function_arglist_closed : function_arglist_nonbackup

p_function_arglist_closed_common__EXPECT_SCM__function_arglist_closed_optional__Chr45__NUMBER_IDENTIFIER

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

function_arglist_closed_common : EXPECT_SCM function_arglist_closed_optional '-' REAL

p_function_arglist_closed_common__EXPECT_SCM__function_arglist_closed_optional__Chr45__UNSIGNED

function_arglist_closed_common : EXPECT_SCM function_arglist_closed_optional '-' UNSIGNED

p_function_arglist_closed_common__EXPECT_SCM__function_arglist_closed_optional__bare_number

function_arglist_closed_common : EXPECT_SCM function_arglist_closed_optional bare_number

p_function_arglist_closed_common__EXPECT_SCM__function_arglist_closed_optional__fraction

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

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

function_arglist_closed_common : EXPECT_SCM function_arglist_optional embedded_scm_arg_closed

p_function_arglist_closed_common__function_arglist_bare

function_arglist_closed_common : function_arglist_bare

p_function_arglist_closed_keep__function_arglist_backup

function_arglist_closed_keep : function_arglist_backup

p_function_arglist_closed_keep__function_arglist_closed_common

function_arglist_closed_keep : function_arglist_closed_common

p_function_arglist_closed_optional__EXPECT_OPTIONAL__EXPECT_DURATION__function_arglist_closed_optional

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

function_arglist_closed_optional : EXPECT_OPTIONAL EXPECT_PITCH function_arglist_closed_optional

p_function_arglist_closed_optional__function_arglist_backup__BACKUP

function_arglist_closed_optional : function_arglist_backup BACKUP

p_function_arglist_closed_optional__function_arglist_closed_keep

function_arglist_closed_optional : function_arglist_closed_keep %prec FUNCTION_ARGLIST

p_function_arglist_common__EXPECT_SCM__function_arglist_closed_optional__bare_number

function_arglist_common : EXPECT_SCM function_arglist_closed_optional bare_number

p_function_arglist_common__EXPECT_SCM__function_arglist_closed_optional__fraction

function_arglist_common : EXPECT_SCM function_arglist_closed_optional fraction

p_function_arglist_common__EXPECT_SCM__function_arglist_closed_optional__post_event_nofinger

function_arglist_common : EXPECT_SCM function_arglist_closed_optional post_event_nofinger

p_function_arglist_common__EXPECT_SCM__function_arglist_optional__embedded_scm_arg

function_arglist_common : EXPECT_SCM function_arglist_optional embedded_scm_arg

p_function_arglist_common__function_arglist_bare

function_arglist_common : function_arglist_bare

p_function_arglist_common__function_arglist_common_minus

function_arglist_common : function_arglist_common_minus

p_function_arglist_common_minus__EXPECT_SCM__function_arglist_closed_optional__Chr45__NUMBER_IDENTIFIER

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

function_arglist_common_minus : EXPECT_SCM function_arglist_closed_optional '-' REAL

p_function_arglist_common_minus__EXPECT_SCM__function_arglist_closed_optional__Chr45__UNSIGNED

function_arglist_common_minus : EXPECT_SCM function_arglist_closed_optional '-' UNSIGNED

p_function_arglist_common_minus__function_arglist_common_minus__REPARSE__bare_number

function_arglist_common_minus : function_arglist_common_minus REPARSE bare_number

p_function_arglist_keep__function_arglist_backup

function_arglist_keep : function_arglist_backup

p_function_arglist_keep__function_arglist_common

function_arglist_keep : function_arglist_common

p_function_arglist_nonbackup__EXPECT_OPTIONAL__EXPECT_DURATION__function_arglist_closed__duration_length

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

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

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

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

function_arglist_nonbackup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed '-' REAL

p_function_arglist_nonbackup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_closed__Chr45__UNSIGNED

function_arglist_nonbackup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed '-' UNSIGNED

p_function_arglist_nonbackup__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_closed__FRACTION

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

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

function_arglist_nonbackup : EXPECT_OPTIONAL EXPECT_SCM function_arglist_closed post_event_nofinger

p_function_arglist_optional__EXPECT_OPTIONAL__EXPECT_DURATION__function_arglist_optional

function_arglist_optional : EXPECT_OPTIONAL EXPECT_DURATION function_arglist_optional

p_function_arglist_optional__EXPECT_OPTIONAL__EXPECT_PITCH__function_arglist_optional

function_arglist_optional : EXPECT_OPTIONAL EXPECT_PITCH function_arglist_optional

p_function_arglist_optional__function_arglist_backup__BACKUP

function_arglist_optional : function_arglist_backup BACKUP

p_function_arglist_optional__function_arglist_keep

function_arglist_optional : function_arglist_keep %prec FUNCTION_ARGLIST

p_function_arglist_skip__EXPECT_OPTIONAL__EXPECT_DURATION__function_arglist_skip

function_arglist_skip : EXPECT_OPTIONAL EXPECT_DURATION function_arglist_skip %prec FUNCTION_ARGLIST

p_function_arglist_skip__EXPECT_OPTIONAL__EXPECT_PITCH__function_arglist_skip

function_arglist_skip : EXPECT_OPTIONAL EXPECT_PITCH function_arglist_skip %prec FUNCTION_ARGLIST

p_function_arglist_skip__EXPECT_OPTIONAL__EXPECT_SCM__function_arglist_skip

function_arglist_skip : EXPECT_OPTIONAL EXPECT_SCM function_arglist_skip %prec FUNCTION_ARGLIST

p_function_arglist_skip__function_arglist_common

function_arglist_skip : function_arglist_common

p_gen_text_def__full_markup

gen_text_def : full_markup

p_gen_text_def__simple_string

gen_text_def : simple_string

p_grouped_music_list__sequential_music

grouped_music_list : sequential_music

p_grouped_music_list__simultaneous_music

grouped_music_list : simultaneous_music

p_identifier_init__context_def_spec_block

identifier_init : context_def_spec_block

p_identifier_init__context_modification

identifier_init : context_modification

p_identifier_init__embedded_scm

identifier_init : embedded_scm

p_identifier_init__full_markup

identifier_init : full_markup

p_identifier_init__full_markup_list

identifier_init : full_markup_list

p_identifier_init__music

identifier_init : music

p_identifier_init__number_expression

identifier_init : number_expression

p_identifier_init__output_def

identifier_init : output_def

p_identifier_init__post_event_nofinger

identifier_init : post_event_nofinger

p_identifier_init__score_block

identifier_init : score_block

p_identifier_init__string

identifier_init : string

p_lilypond__Empty

lilypond :

p_lilypond__lilypond__assignment

lilypond : lilypond assignment

p_lilypond__lilypond__error

lilypond : lilypond error

p_lilypond__lilypond__toplevel_expression

lilypond : lilypond toplevel_expression

p_lilypond_header__HEADER__Chr123__lilypond_header_body__Chr125

lilypond_header : HEADER '{' lilypond_header_body '}'

p_lilypond_header_body__Empty

lilypond_header_body :

p_lilypond_header_body__lilypond_header_body__assignment

lilypond_header_body : lilypond_header_body assignment

p_markup__markup_head_1_list__simple_markup

markup : markup_head_1_list simple_markup

p_markup__simple_markup

markup : simple_markup

p_markup_braced_list__Chr123__markup_braced_list_body__Chr125

markup_braced_list : '{' markup_braced_list_body '}'

p_markup_braced_list_body__Empty

markup_braced_list_body :

p_markup_braced_list_body__markup_braced_list_body__markup

markup_braced_list_body : markup_braced_list_body markup

p_markup_braced_list_body__markup_braced_list_body__markup_list

markup_braced_list_body : markup_braced_list_body markup_list

p_markup_command_basic_arguments__EXPECT_MARKUP_LIST__markup_command_list_arguments__markup_list

markup_command_basic_arguments : EXPECT_MARKUP_LIST markup_command_list_arguments markup_list

p_markup_command_basic_arguments__EXPECT_NO_MORE_ARGS

markup_command_basic_arguments : EXPECT_NO_MORE_ARGS

p_markup_command_basic_arguments__EXPECT_SCM__markup_command_list_arguments__embedded_scm_closed

markup_command_basic_arguments : EXPECT_SCM markup_command_list_arguments embedded_scm_closed

p_markup_command_list__MARKUP_LIST_FUNCTION__markup_command_list_arguments

markup_command_list : MARKUP_LIST_FUNCTION markup_command_list_arguments

p_markup_command_list_arguments__EXPECT_MARKUP__markup_command_list_arguments__markup

markup_command_list_arguments : EXPECT_MARKUP markup_command_list_arguments markup

p_markup_command_list_arguments__markup_command_basic_arguments

markup_command_list_arguments : markup_command_basic_arguments

p_markup_composed_list__markup_head_1_list__markup_braced_list

markup_composed_list : markup_head_1_list markup_braced_list

p_markup_head_1_item__MARKUP_FUNCTION__EXPECT_MARKUP__markup_command_list_arguments

markup_head_1_item : MARKUP_FUNCTION EXPECT_MARKUP markup_command_list_arguments

p_markup_head_1_list__markup_head_1_item

markup_head_1_list : markup_head_1_item

p_markup_head_1_list__markup_head_1_list__markup_head_1_item

markup_head_1_list : markup_head_1_list markup_head_1_item

p_markup_list__MARKUPLIST_IDENTIFIER

markup_list : MARKUPLIST_IDENTIFIER

p_markup_list__markup_braced_list

markup_list : markup_braced_list

p_markup_list__markup_command_list

markup_list : markup_command_list

p_markup_list__markup_composed_list

markup_list : markup_composed_list

p_markup_list__markup_scm__MARKUPLIST_IDENTIFIER

markup_list : markup_scm MARKUPLIST_IDENTIFIER

p_markup_scm__embedded_scm_bare__BACKUP

markup_scm : embedded_scm_bare BACKUP

p_markup_top__markup_head_1_list__simple_markup

markup_top : markup_head_1_list simple_markup

p_markup_top__markup_list

markup_top : markup_list

p_markup_top__simple_markup

markup_top : simple_markup

p_multiplied_duration__multiplied_duration__Chr42__FRACTION

multiplied_duration : multiplied_duration '*' FRACTION

p_multiplied_duration__multiplied_duration__Chr42__bare_unsigned

multiplied_duration : multiplied_duration '*' bare_unsigned

p_multiplied_duration__steno_duration

multiplied_duration : steno_duration

p_music__composite_music

music : composite_music %prec COMPOSITE

p_music__simple_music

music : simple_music

p_music_arg__composite_music

music_arg : composite_music %prec COMPOSITE

p_music_arg__simple_music

music_arg : simple_music

p_music_bare__MUSIC_IDENTIFIER

music_bare : MUSIC_IDENTIFIER

p_music_bare__grouped_music_list

music_bare : grouped_music_list

p_music_function_call__MUSIC_FUNCTION__function_arglist

music_function_call : MUSIC_FUNCTION function_arglist

p_music_function_chord_body__MUSIC_FUNCTION__music_function_chord_body_arglist

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

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

music_function_chord_body_arglist : function_arglist_bare

p_music_function_event__MUSIC_FUNCTION__function_arglist_closed

music_function_event : MUSIC_FUNCTION function_arglist_closed

p_music_list__Empty

music_list :

p_music_list__music_list__embedded_scm

music_list : music_list embedded_scm

p_music_list__music_list__error

music_list : music_list error

p_music_list__music_list__music

music_list : music_list music

p_music_property_def__simple_music_property_def

music_property_def : simple_music_property_def

p_note_chord_element__chord_body__optional_notemode_duration__post_events

note_chord_element : chord_body optional_notemode_duration post_events

p_number_expression__number_expression__Chr43__number_term

number_expression : number_expression '+' number_term

p_number_expression__number_expression__Chr45__number_term

number_expression : number_expression '-' number_term

p_number_expression__number_term

number_expression : number_term

p_number_factor__Chr45__number_factor

number_factor : '-' number_factor

p_number_factor__bare_number

number_factor : bare_number

p_number_term__number_factor

number_term : number_factor

p_number_term__number_factor__Chr42__number_factor

number_term : number_factor '*' number_factor

p_number_term__number_factor__Chr47__number_factor

number_term : number_factor '/' number_factor

p_octave_check__Chr61

octave_check : '='

p_octave_check__Chr61__sub_quotes

octave_check : '=' sub_quotes

p_octave_check__Chr61__sup_quotes

octave_check : '=' sup_quotes

p_octave_check__Empty

octave_check :

p_optional_context_mod__Empty

optional_context_mod :

p_optional_context_mod__context_modification

optional_context_mod : context_modification

p_optional_id__Chr61__simple_string

optional_id : '=' simple_string

p_optional_id__Empty

optional_id :

p_optional_notemode_duration__Empty

optional_notemode_duration :

p_optional_notemode_duration__multiplied_duration

optional_notemode_duration : multiplied_duration

p_optional_rest__Empty

optional_rest :

p_optional_rest__REST

optional_rest : REST

p_output_def__output_def_body__Chr125

output_def : output_def_body '}'

p_output_def_body__output_def_body__assignment

output_def_body : output_def_body assignment

p_output_def_body__output_def_head_with_mode_switch__Chr123

output_def_body : output_def_head_with_mode_switch '{'

p_output_def_body__output_def_head_with_mode_switch__Chr123__OUTPUT_DEF_IDENTIFIER

output_def_body : output_def_head_with_mode_switch '{' OUTPUT_DEF_IDENTIFIER

p_output_def_head__LAYOUT

output_def_head : LAYOUT

p_output_def_head__MIDI

output_def_head : MIDI

p_output_def_head__PAPER

output_def_head : PAPER

p_output_def_head_with_mode_switch__output_def_head

output_def_head_with_mode_switch : output_def_head

p_pitch__PITCH_IDENTIFIER

pitch : PITCH_IDENTIFIER

p_pitch__steno_pitch

pitch : steno_pitch

p_pitch_also_in_chords__pitch

pitch_also_in_chords : pitch

p_pitch_also_in_chords__steno_tonic_pitch

pitch_also_in_chords : steno_tonic_pitch

p_post_event__Chr45__fingering

post_event : '-' fingering

p_post_event__post_event_nofinger

post_event : post_event_nofinger

p_post_event_nofinger__Chr94__fingering

post_event_nofinger : '^' fingering

p_post_event_nofinger__Chr95__fingering

post_event_nofinger : '_' fingering

p_post_event_nofinger__EXTENDER

post_event_nofinger : EXTENDER

p_post_event_nofinger__HYPHEN

post_event_nofinger : HYPHEN

p_post_event_nofinger__direction_less_event

post_event_nofinger : direction_less_event

p_post_event_nofinger__script_dir__direction_less_event

post_event_nofinger : script_dir direction_less_event

p_post_event_nofinger__script_dir__direction_reqd_event

post_event_nofinger : script_dir direction_reqd_event

p_post_event_nofinger__script_dir__music_function_event

post_event_nofinger : script_dir music_function_event

p_post_event_nofinger__string_number_event

post_event_nofinger : string_number_event

p_post_events__Empty

post_events :

p_post_events__post_events__post_event

post_events : post_events post_event

p_property_operation__OVERRIDE__simple_string__property_path__Chr61__scalar

property_operation : OVERRIDE simple_string property_path '=' scalar

p_property_operation__REVERT__simple_string__embedded_scm

property_operation : REVERT simple_string embedded_scm

p_property_operation__STRING__Chr61__scalar

property_operation : STRING '=' scalar

p_property_operation__UNSET__simple_string

property_operation : UNSET simple_string

p_property_path__property_path_revved

property_path : property_path_revved

p_property_path_revved__embedded_scm_closed

property_path_revved : embedded_scm_closed

p_property_path_revved__property_path_revved__embedded_scm_closed

property_path_revved : property_path_revved embedded_scm_closed

p_questions__Empty

questions :

p_questions__questions__Chr63

questions : questions '?'

p_scalar__bare_number

scalar : bare_number

p_scalar__embedded_scm_arg

scalar : embedded_scm_arg

p_scalar_closed__bare_number

scalar_closed : bare_number

p_scalar_closed__embedded_scm_arg_closed

scalar_closed : embedded_scm_arg_closed

p_scm_function_call__SCM_FUNCTION__function_arglist

scm_function_call : SCM_FUNCTION function_arglist

p_scm_function_call_closed__SCM_FUNCTION__function_arglist_closed

scm_function_call_closed : SCM_FUNCTION function_arglist_closed %prec FUNCTION_ARGLIST

p_score_block__SCORE__Chr123__score_body__Chr125

score_block : SCORE '{' score_body '}'

p_score_body__SCORE_IDENTIFIER

score_body : SCORE_IDENTIFIER

p_score_body__music

score_body : music

p_score_body__score_body__lilypond_header

score_body : score_body lilypond_header

p_score_body__score_body__output_def

score_body : score_body output_def

p_script_abbreviation__ANGLE_CLOSE

script_abbreviation : ANGLE_CLOSE

p_script_abbreviation__Chr33

script_abbreviation : '!'

p_script_abbreviation__Chr43

script_abbreviation : '+'

p_script_abbreviation__Chr45

script_abbreviation : '-'

p_script_abbreviation__Chr46

script_abbreviation : '.'

p_script_abbreviation__Chr94

script_abbreviation : '^'

p_script_abbreviation__Chr95

script_abbreviation : '_'

p_script_dir__Chr45

script_dir : '-'

p_script_dir__Chr94

script_dir : '^'

p_script_dir__Chr95

script_dir : '_'

p_sequential_music__SEQUENTIAL__braced_music_list

sequential_music : SEQUENTIAL braced_music_list

p_sequential_music__braced_music_list

sequential_music : braced_music_list

p_simple_chord_elements__simple_element

simple_chord_elements : simple_element

p_simple_element__RESTNAME__optional_notemode_duration

simple_element : RESTNAME optional_notemode_duration

p_simple_element__pitch__exclamations__questions__octave_check__optional_notemode_duration__optional_rest

simple_element : pitch exclamations questions octave_check optional_notemode_duration optional_rest

p_simple_markup__MARKUP_FUNCTION__markup_command_basic_arguments

simple_markup : MARKUP_FUNCTION markup_command_basic_arguments

p_simple_markup__MARKUP_IDENTIFIER

simple_markup : MARKUP_IDENTIFIER

p_simple_markup__SCORE__Chr123__score_body__Chr125

simple_markup : SCORE '{' score_body '}'

p_simple_markup__STRING

simple_markup : STRING

p_simple_markup__STRING_IDENTIFIER

simple_markup : STRING_IDENTIFIER

p_simple_music__context_change

simple_music : context_change

p_simple_music__event_chord

simple_music : event_chord

p_simple_music__music_property_def

simple_music : music_property_def

p_simple_music_property_def__OVERRIDE__context_prop_spec__property_path__Chr61__scalar

simple_music_property_def : OVERRIDE context_prop_spec property_path '=' scalar

p_simple_music_property_def__REVERT__context_prop_spec__embedded_scm

simple_music_property_def : REVERT context_prop_spec embedded_scm

p_simple_music_property_def__SET__context_prop_spec__Chr61__scalar

simple_music_property_def : SET context_prop_spec '=' scalar

p_simple_music_property_def__UNSET__context_prop_spec

simple_music_property_def : UNSET context_prop_spec

p_simple_string__STRING

simple_string : STRING

p_simple_string__STRING_IDENTIFIER

simple_string : STRING_IDENTIFIER

p_simultaneous_music__DOUBLE_ANGLE_OPEN__music_list__DOUBLE_ANGLE_CLOSE

simultaneous_music : DOUBLE_ANGLE_OPEN music_list DOUBLE_ANGLE_CLOSE

p_simultaneous_music__SIMULTANEOUS__braced_music_list

simultaneous_music : SIMULTANEOUS braced_music_list

p_start_symbol__lilypond

start_symbol : lilypond

p_steno_duration__DURATION_IDENTIFIER__dots

steno_duration : DURATION_IDENTIFIER dots

p_steno_duration__bare_unsigned__dots

steno_duration : bare_unsigned dots

p_steno_pitch__NOTENAME_PITCH

steno_pitch : NOTENAME_PITCH

p_steno_pitch__NOTENAME_PITCH__sub_quotes

steno_pitch : NOTENAME_PITCH sub_quotes

p_steno_pitch__NOTENAME_PITCH__sup_quotes

steno_pitch : NOTENAME_PITCH sup_quotes

p_steno_tonic_pitch__TONICNAME_PITCH

steno_tonic_pitch : TONICNAME_PITCH

p_steno_tonic_pitch__TONICNAME_PITCH__sub_quotes

steno_tonic_pitch : TONICNAME_PITCH sub_quotes

p_steno_tonic_pitch__TONICNAME_PITCH__sup_quotes

steno_tonic_pitch : TONICNAME_PITCH sup_quotes

p_string__STRING

string : STRING

p_string__STRING_IDENTIFIER

string : STRING_IDENTIFIER

p_string__string__Chr43__string

string : string '+' string

p_string_number_event__E_UNSIGNED

string_number_event : E_UNSIGNED

p_sub_quotes__Chr44

sub_quotes : ','

p_sub_quotes__sub_quotes__Chr44

sub_quotes : sub_quotes ','

p_sup_quotes__Chr39

sup_quotes : '''

p_sup_quotes__sup_quotes__Chr39

sup_quotes : sup_quotes '''

p_tempo_event__TEMPO__scalar

tempo_event : TEMPO scalar

p_tempo_event__TEMPO__scalar_closed__steno_duration__Chr61__tempo_range

tempo_event : TEMPO scalar_closed steno_duration '=' tempo_range

p_tempo_event__TEMPO__steno_duration__Chr61__tempo_range

tempo_event : TEMPO steno_duration '=' tempo_range

p_tempo_range__bare_unsigned

tempo_range : bare_unsigned

p_tempo_range__bare_unsigned__Chr45__bare_unsigned

tempo_range : bare_unsigned '-' bare_unsigned

p_toplevel_expression__composite_music

toplevel_expression : composite_music

p_toplevel_expression__full_markup

toplevel_expression : full_markup

p_toplevel_expression__full_markup_list

toplevel_expression : full_markup_list

p_toplevel_expression__lilypond_header

toplevel_expression : lilypond_header

p_toplevel_expression__output_def

toplevel_expression : output_def

p_toplevel_expression__score_block

toplevel_expression : score_block

p_tremolo_type__Chr58

tremolo_type : ':'

p_tremolo_type__Chr58__bare_unsigned

tremolo_type : ':' bare_unsigned

precedence

start


Methods

p_assignment__assignment_id__Chr61__identifier_init(p)[source]

assignment : assignment_id ‘=’ identifier_init

p_assignment__embedded_scm(p)[source]

assignment : embedded_scm

p_assignment_id__STRING(p)[source]

assignment_id : STRING

p_bare_number__REAL__NUMBER_IDENTIFIER(p)[source]

bare_number : REAL NUMBER_IDENTIFIER

p_bare_number__UNSIGNED__NUMBER_IDENTIFIER(p)[source]

bare_number : UNSIGNED NUMBER_IDENTIFIER

p_bare_number__bare_number_closed(p)[source]

bare_number : bare_number_closed

p_bare_number_closed__NUMBER_IDENTIFIER(p)[source]

bare_number_closed : NUMBER_IDENTIFIER

p_bare_number_closed__REAL(p)[source]

bare_number_closed : REAL

p_bare_number_closed__UNSIGNED(p)[source]

bare_number_closed : UNSIGNED

p_bare_unsigned__UNSIGNED(p)[source]

bare_unsigned : UNSIGNED

p_braced_music_list__Chr123__music_list__Chr125(p)[source]

braced_music_list : ‘{’ music_list ‘}’

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__Empty(p)[source]

chord_body_elements :

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_closed_music__music_bare(p)[source]

closed_music : music_bare

p_command_element__Chr124(p)[source]

command_element : ‘|’

p_command_element__E_BACKSLASH(p)[source]

command_element : E_BACKSLASH

p_command_element__command_event(p)[source]

command_element : command_event

p_command_event__tempo_event(p)[source]

command_event : tempo_event

p_complex_music__complex_music_prefix__music(p)[source]

complex_music : complex_music_prefix music

p_complex_music__music_function_call(p)[source]

complex_music : music_function_call

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_composite_music__complex_music(p)[source]

composite_music : complex_music

p_composite_music__music_bare(p)[source]

composite_music : music_bare

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__Empty(p)[source]

context_def_spec_body :

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__property_operation(p)[source]

context_mod : property_operation

p_context_mod_list__Empty(p)[source]

context_mod_list :

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(p)[source]

context_prop_spec : simple_string

p_context_prop_spec__simple_string__Chr46__simple_string(p)[source]

context_prop_spec : simple_string ‘.’ simple_string

p_direction_less_char__Chr126(p)[source]

direction_less_char : ‘~’

p_direction_less_char__Chr40(p)[source]

direction_less_char : ‘(’

p_direction_less_char__Chr41(p)[source]

direction_less_char : ‘)’

p_direction_less_char__Chr91(p)[source]

direction_less_char : ‘[’

p_direction_less_char__Chr93(p)[source]

direction_less_char : ‘]’

p_direction_less_char__E_ANGLE_CLOSE(p)[source]

direction_less_char : E_ANGLE_CLOSE

p_direction_less_char__E_ANGLE_OPEN(p)[source]

direction_less_char : E_ANGLE_OPEN

p_direction_less_char__E_CLOSE(p)[source]

direction_less_char : E_CLOSE

p_direction_less_char__E_EXCLAMATION(p)[source]

direction_less_char : E_EXCLAMATION

p_direction_less_char__E_OPEN(p)[source]

direction_less_char : E_OPEN

p_direction_less_event__EVENT_IDENTIFIER(p)[source]

direction_less_event : EVENT_IDENTIFIER

p_direction_less_event__direction_less_char(p)[source]

direction_less_event : direction_less_char

p_direction_less_event__event_function_event(p)[source]

direction_less_event : event_function_event

p_direction_less_event__tremolo_type(p)[source]

direction_less_event : tremolo_type

p_direction_reqd_event__gen_text_def(p)[source]

direction_reqd_event : gen_text_def

p_direction_reqd_event__script_abbreviation(p)[source]

direction_reqd_event : script_abbreviation

p_dots__Empty(p)[source]

dots :

p_dots__dots__Chr46(p)[source]

dots : dots ‘.’

p_duration_length__multiplied_duration(p)[source]

duration_length : multiplied_duration

p_embedded_scm__embedded_scm_bare(p)[source]

embedded_scm : embedded_scm_bare

p_embedded_scm__scm_function_call(p)[source]

embedded_scm : scm_function_call

p_embedded_scm_arg__embedded_scm_bare_arg(p)[source]

embedded_scm_arg : embedded_scm_bare_arg

p_embedded_scm_arg__music_arg(p)[source]

embedded_scm_arg : music_arg

p_embedded_scm_arg__scm_function_call(p)[source]

embedded_scm_arg : scm_function_call

p_embedded_scm_arg_closed__closed_music(p)[source]

embedded_scm_arg_closed : closed_music

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__SCM_IDENTIFIER(p)[source]

embedded_scm_bare : SCM_IDENTIFIER

p_embedded_scm_bare__SCM_TOKEN(p)[source]

embedded_scm_bare : SCM_TOKEN

p_embedded_scm_bare_arg__STRING(p)[source]

embedded_scm_bare_arg : STRING

p_embedded_scm_bare_arg__STRING_IDENTIFIER(p)[source]

embedded_scm_bare_arg : STRING_IDENTIFIER

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_bare_arg__embedded_scm_bare(p)[source]

embedded_scm_bare_arg : embedded_scm_bare

p_embedded_scm_bare_arg__full_markup(p)[source]

embedded_scm_bare_arg : full_markup

p_embedded_scm_bare_arg__full_markup_list(p)[source]

embedded_scm_bare_arg : full_markup_list

p_embedded_scm_bare_arg__output_def(p)[source]

embedded_scm_bare_arg : output_def

p_embedded_scm_bare_arg__score_block(p)[source]

embedded_scm_bare_arg : score_block

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__bare_number(p)[source]

embedded_scm_chord_body : bare_number

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_chord_body__fraction(p)[source]

embedded_scm_chord_body : fraction

p_embedded_scm_closed__embedded_scm_bare(p)[source]

embedded_scm_closed : embedded_scm_bare

p_embedded_scm_closed__scm_function_call_closed(p)[source]

embedded_scm_closed : scm_function_call_closed

p_error(p)[source]
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__command_element(p)[source]

event_chord : command_element

p_event_chord__note_chord_element(p)[source]

event_chord : note_chord_element

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_exclamations__Empty(p)[source]

exclamations :

p_exclamations__exclamations__Chr33(p)[source]

exclamations : exclamations ‘!’

p_fingering__UNSIGNED(p)[source]

fingering : UNSIGNED

p_fraction__FRACTION(p)[source]

fraction : FRACTION

p_fraction__UNSIGNED__Chr47__UNSIGNED(p)[source]

fraction : UNSIGNED ‘/’ UNSIGNED

p_full_markup__MARKUP_IDENTIFIER(p)[source]

full_markup : MARKUP_IDENTIFIER

p_full_markup__MARKUP__markup_top(p)[source]

full_markup : MARKUP markup_top

p_full_markup_list__MARKUPLIST_IDENTIFIER(p)[source]

full_markup_list : MARKUPLIST_IDENTIFIER

p_full_markup_list__MARKUPLIST__markup_list(p)[source]

full_markup_list : MARKUPLIST markup_list

p_function_arglist__function_arglist_common(p)[source]

function_arglist : function_arglist_common

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_gen_text_def__full_markup(p)[source]

gen_text_def : full_markup

p_gen_text_def__simple_string(p)[source]

gen_text_def : simple_string

p_grouped_music_list__sequential_music(p)[source]

grouped_music_list : sequential_music

p_grouped_music_list__simultaneous_music(p)[source]

grouped_music_list : simultaneous_music

p_identifier_init__context_def_spec_block(p)[source]

identifier_init : context_def_spec_block

p_identifier_init__context_modification(p)[source]

identifier_init : context_modification

p_identifier_init__embedded_scm(p)[source]

identifier_init : embedded_scm

p_identifier_init__full_markup(p)[source]

identifier_init : full_markup

p_identifier_init__full_markup_list(p)[source]

identifier_init : full_markup_list

p_identifier_init__music(p)[source]

identifier_init : music

p_identifier_init__number_expression(p)[source]

identifier_init : number_expression

p_identifier_init__output_def(p)[source]

identifier_init : output_def

p_identifier_init__post_event_nofinger(p)[source]

identifier_init : post_event_nofinger

p_identifier_init__score_block(p)[source]

identifier_init : score_block

p_identifier_init__string(p)[source]

identifier_init : string

p_lilypond__Empty(p)[source]

lilypond :

p_lilypond__lilypond__assignment(p)[source]

lilypond : lilypond assignment

p_lilypond__lilypond__error(p)[source]

lilypond : lilypond error

p_lilypond__lilypond__toplevel_expression(p)[source]

lilypond : lilypond toplevel_expression

p_lilypond_header__HEADER__Chr123__lilypond_header_body__Chr125(p)[source]

lilypond_header : HEADER ‘{’ lilypond_header_body ‘}’

p_lilypond_header_body__Empty(p)[source]

lilypond_header_body :

p_lilypond_header_body__lilypond_header_body__assignment(p)[source]

lilypond_header_body : lilypond_header_body assignment

p_markup__markup_head_1_list__simple_markup(p)[source]

markup : markup_head_1_list simple_markup

p_markup__simple_markup(p)[source]

markup : simple_markup

p_markup_braced_list__Chr123__markup_braced_list_body__Chr125(p)[source]

markup_braced_list : ‘{’ markup_braced_list_body ‘}’

p_markup_braced_list_body__Empty(p)[source]

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_item(p)[source]

markup_head_1_list : markup_head_1_item

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__MARKUPLIST_IDENTIFIER(p)[source]

markup_list : MARKUPLIST_IDENTIFIER

p_markup_list__markup_braced_list(p)[source]

markup_list : markup_braced_list

p_markup_list__markup_command_list(p)[source]

markup_list : markup_command_list

p_markup_list__markup_composed_list(p)[source]

markup_list : markup_composed_list

p_markup_list__markup_scm__MARKUPLIST_IDENTIFIER(p)[source]

markup_list : markup_scm MARKUPLIST_IDENTIFIER

p_markup_scm__embedded_scm_bare__BACKUP(p)[source]

markup_scm : embedded_scm_bare BACKUP

p_markup_top__markup_head_1_list__simple_markup(p)[source]

markup_top : markup_head_1_list simple_markup

p_markup_top__markup_list(p)[source]

markup_top : markup_list

p_markup_top__simple_markup(p)[source]

markup_top : 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_multiplied_duration__steno_duration(p)[source]

multiplied_duration : steno_duration

p_music__composite_music(p)[source]

music : composite_music %prec COMPOSITE

p_music__simple_music(p)[source]

music : simple_music

p_music_arg__composite_music(p)[source]

music_arg : composite_music %prec COMPOSITE

p_music_arg__simple_music(p)[source]

music_arg : simple_music

p_music_bare__MUSIC_IDENTIFIER(p)[source]

music_bare : MUSIC_IDENTIFIER

p_music_bare__grouped_music_list(p)[source]

music_bare : grouped_music_list

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_list__Empty(p)[source]

music_list :

p_music_list__music_list__embedded_scm(p)[source]

music_list : music_list embedded_scm

p_music_list__music_list__error(p)[source]

music_list : music_list error

p_music_list__music_list__music(p)[source]

music_list : music_list music

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_expression__number_term(p)[source]

number_expression : number_term

p_number_factor__Chr45__number_factor(p)[source]

number_factor : ‘-’ number_factor

p_number_factor__bare_number(p)[source]

number_factor : bare_number

p_number_term__number_factor(p)[source]

number_term : number_factor

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_octave_check__Chr61(p)[source]

octave_check : ‘=’

p_octave_check__Chr61__sub_quotes(p)[source]

octave_check : ‘=’ sub_quotes

p_octave_check__Chr61__sup_quotes(p)[source]

octave_check : ‘=’ sup_quotes

p_octave_check__Empty(p)[source]

octave_check :

p_optional_context_mod__Empty(p)[source]

optional_context_mod :

p_optional_context_mod__context_modification(p)[source]

optional_context_mod : context_modification

p_optional_id__Chr61__simple_string(p)[source]

optional_id : ‘=’ simple_string

p_optional_id__Empty(p)[source]

optional_id :

p_optional_notemode_duration__Empty(p)[source]

optional_notemode_duration :

p_optional_notemode_duration__multiplied_duration(p)[source]

optional_notemode_duration : multiplied_duration

p_optional_rest__Empty(p)[source]

optional_rest :

p_optional_rest__REST(p)[source]

optional_rest : REST

p_output_def__output_def_body__Chr125(p)[source]

output_def : output_def_body ‘}’

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__LAYOUT(p)[source]

output_def_head : LAYOUT

p_output_def_head__MIDI(p)[source]

output_def_head : MIDI

p_output_def_head__PAPER(p)[source]

output_def_head : PAPER

p_output_def_head_with_mode_switch__output_def_head(p)[source]

output_def_head_with_mode_switch : output_def_head

p_pitch__PITCH_IDENTIFIER(p)[source]

pitch : PITCH_IDENTIFIER

p_pitch__steno_pitch(p)[source]

pitch : steno_pitch

p_pitch_also_in_chords__pitch(p)[source]

pitch_also_in_chords : pitch

p_pitch_also_in_chords__steno_tonic_pitch(p)[source]

pitch_also_in_chords : steno_tonic_pitch

p_post_event__Chr45__fingering(p)[source]

post_event : ‘-’ fingering

p_post_event__post_event_nofinger(p)[source]

post_event : post_event_nofinger

p_post_event_nofinger__Chr94__fingering(p)[source]

post_event_nofinger : ‘^’ fingering

p_post_event_nofinger__Chr95__fingering(p)[source]

post_event_nofinger : ‘_’ fingering

p_post_event_nofinger__EXTENDER(p)[source]

post_event_nofinger : EXTENDER

p_post_event_nofinger__HYPHEN(p)[source]

post_event_nofinger : HYPHEN

p_post_event_nofinger__direction_less_event(p)[source]

post_event_nofinger : direction_less_event

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_post_event_nofinger__string_number_event(p)[source]

post_event_nofinger : string_number_event

p_post_events__Empty(p)[source]

post_events :

p_post_events__post_events__post_event(p)[source]

post_events : post_events post_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_operation__STRING__Chr61__scalar(p)[source]

property_operation : STRING ‘=’ scalar

p_property_operation__UNSET__simple_string(p)[source]

property_operation : UNSET simple_string

p_property_path__property_path_revved(p)[source]

property_path : property_path_revved

p_property_path_revved__embedded_scm_closed(p)[source]

property_path_revved : embedded_scm_closed

p_property_path_revved__property_path_revved__embedded_scm_closed(p)[source]

property_path_revved : property_path_revved embedded_scm_closed

p_questions__Empty(p)[source]

questions :

p_questions__questions__Chr63(p)[source]

questions : questions ‘?’

p_scalar__bare_number(p)[source]

scalar : bare_number

p_scalar__embedded_scm_arg(p)[source]

scalar : embedded_scm_arg

p_scalar_closed__bare_number(p)[source]

scalar_closed : bare_number

p_scalar_closed__embedded_scm_arg_closed(p)[source]

scalar_closed : embedded_scm_arg_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_score_block__SCORE__Chr123__score_body__Chr125(p)[source]

score_block : SCORE ‘{’ score_body ‘}’

p_score_body__SCORE_IDENTIFIER(p)[source]

score_body : SCORE_IDENTIFIER

p_score_body__music(p)[source]

score_body : music

p_score_body__score_body__lilypond_header(p)[source]

score_body : score_body lilypond_header

p_score_body__score_body__output_def(p)[source]

score_body : score_body output_def

p_script_abbreviation__ANGLE_CLOSE(p)[source]

script_abbreviation : ANGLE_CLOSE

p_script_abbreviation__Chr33(p)[source]

script_abbreviation : ‘!’

p_script_abbreviation__Chr43(p)[source]

script_abbreviation : ‘+’

p_script_abbreviation__Chr45(p)[source]

script_abbreviation : ‘-’

p_script_abbreviation__Chr46(p)[source]

script_abbreviation : ‘.’

p_script_abbreviation__Chr94(p)[source]

script_abbreviation : ‘^’

p_script_abbreviation__Chr95(p)[source]

script_abbreviation : ‘_’

p_script_dir__Chr45(p)[source]

script_dir : ‘-’

p_script_dir__Chr94(p)[source]

script_dir : ‘^’

p_script_dir__Chr95(p)[source]

script_dir : ‘_’

p_sequential_music__SEQUENTIAL__braced_music_list(p)[source]

sequential_music : SEQUENTIAL braced_music_list

p_sequential_music__braced_music_list(p)[source]

sequential_music : braced_music_list

p_simple_chord_elements__simple_element(p)[source]

simple_chord_elements : simple_element

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__MARKUP_IDENTIFIER(p)[source]

simple_markup : MARKUP_IDENTIFIER

p_simple_markup__SCORE__Chr123__score_body__Chr125(p)[source]

simple_markup : SCORE ‘{’ score_body ‘}’

p_simple_markup__STRING(p)[source]

simple_markup : STRING

p_simple_markup__STRING_IDENTIFIER(p)[source]

simple_markup : STRING_IDENTIFIER

p_simple_music__context_change(p)[source]

simple_music : context_change

p_simple_music__event_chord(p)[source]

simple_music : event_chord

p_simple_music__music_property_def(p)[source]

simple_music : music_property_def

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_simple_string__STRING(p)[source]

simple_string : STRING

p_simple_string__STRING_IDENTIFIER(p)[source]

simple_string : STRING_IDENTIFIER

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_start_symbol__lilypond(p)[source]

start_symbol : lilypond

p_steno_duration__DURATION_IDENTIFIER__dots(p)[source]

steno_duration : DURATION_IDENTIFIER dots

p_steno_duration__bare_unsigned__dots(p)[source]

steno_duration : bare_unsigned dots

p_steno_pitch__NOTENAME_PITCH(p)[source]

steno_pitch : NOTENAME_PITCH

p_steno_pitch__NOTENAME_PITCH__sub_quotes(p)[source]

steno_pitch : NOTENAME_PITCH sub_quotes

p_steno_pitch__NOTENAME_PITCH__sup_quotes(p)[source]

steno_pitch : NOTENAME_PITCH sup_quotes

p_steno_tonic_pitch__TONICNAME_PITCH(p)[source]

steno_tonic_pitch : TONICNAME_PITCH

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_string__STRING(p)[source]

string : STRING

p_string__STRING_IDENTIFIER(p)[source]

string : STRING_IDENTIFIER

p_string__string__Chr43__string(p)[source]

string : string ‘+’ string

p_string_number_event__E_UNSIGNED(p)[source]

string_number_event : E_UNSIGNED

p_sub_quotes__Chr44(p)[source]

sub_quotes : ‘,’

p_sub_quotes__sub_quotes__Chr44(p)[source]

sub_quotes : sub_quotes ‘,’

p_sup_quotes__Chr39(p)[source]

sup_quotes : ‘'’

p_sup_quotes__sup_quotes__Chr39(p)[source]

sup_quotes : sup_quotes ‘'’

p_tempo_event__TEMPO__scalar(p)[source]

tempo_event : TEMPO scalar

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

p_tempo_range__bare_unsigned(p)[source]

tempo_range : bare_unsigned

p_tempo_range__bare_unsigned__Chr45__bare_unsigned(p)[source]

tempo_range : bare_unsigned ‘-’ bare_unsigned

p_toplevel_expression__composite_music(p)[source]

toplevel_expression : composite_music

p_toplevel_expression__full_markup(p)[source]

toplevel_expression : full_markup

p_toplevel_expression__full_markup_list(p)[source]

toplevel_expression : full_markup_list

p_toplevel_expression__lilypond_header(p)[source]

toplevel_expression : lilypond_header

p_toplevel_expression__output_def(p)[source]

toplevel_expression : output_def

p_toplevel_expression__score_block(p)[source]

toplevel_expression : score_block

p_tremolo_type__Chr58(p)[source]

tremolo_type : ‘:’

p_tremolo_type__Chr58__bare_unsigned(p)[source]

tremolo_type : ‘:’ bare_unsigned

class abjad.parsers.parser.MarkupCommand(name=None, *arguments)[source]

LilyPond markup command.


Attributes Summary

__eq__

Is true when argument is a markup command with name and arguments equal to those of this markup command.

__hash__

Hashes markup command.

__repr__

Gets repr.


Special methods

overridden __eq__(argument)[source]

Is true when argument is a markup command with name and arguments equal to those of this markup command.

overridden __hash__()[source]

Hashes markup command.

overridden __repr__()[source]

Gets repr.

class abjad.parsers.parser.Music(music=None)[source]

Abjad model of the LilyPond AST music node.

class abjad.parsers.parser.SequentialMusic(music=None)[source]

Abjad model of the LilyPond AST sequential music node.


Attributes Summary

construct

Constructs sequential music.


Methods

construct()[source]

Constructs sequential music.

Returns Abjad container.

class abjad.parsers.parser.SimultaneousMusic(music=None)[source]

Abjad model of the LilyPond AST simultaneous music node.

class abjad.parsers.parser.SyntaxNode(type=None, value=None)[source]

A node in an abstract syntax tree (AST).

Not composer-safe.

Used internally by LilyPondParser.


Attributes Summary

__getitem__

Gets item or slice identified by argument.

__len__

Gets length.

__repr__

Gets repr.


Special methods

__getitem__(argument)[source]

Gets item or slice identified by argument.

Returns item or slice.

__len__()[source]

Gets length.

overridden __repr__()[source]

Gets repr.