[icon]

GNU LilyPond

Welcome to the home of the GNU Music Typesetter

What is LilyPond
General information
Simple examples
Complex examples
Download
GNU/Linux binaries
Windows
Source code
Documentation
Tutorial
Manual
Glossary
other ...

Support
Mailing lists
Search
WikiWiki
FAQs

External sites
lilypond.org/development
lilypond.org/stable
ftp.lilypond.org
Mutopia
Other music online

Node:Ambiguities, Previous:Lexical modes, Up:Syntactic details



Ambiguities

The grammar contains a number of ambiguities. We hope to resolve them at some time.

  • The assignment
    foo = bar
    
    is interpreted as the string identifier assignment. However, it can also be interpreted as making a string identifier \foo containing "bar", or a music identifier \foo containing the syllable `bar'.
  • If you do a nested repeat like

    \repeat ...
    \repeat ...
    \alternative
    

    then it is ambiguous to which \repeat the \alternative belongs. This is the classic if-then-else dilemma. It may be solved by using braces.

  • The parser is not sophisticated enough to distinguish at the right time between c4*2 / 3 and c4*2 / g (in chord mode).

    [checkme]

Go back to index of LilyPond.

Please send GNU LilyPond questions and comments to lilypond-user@gnu.org.

Please send comments on these web pages to lilypond@packages.debian.org

Copyright (c) 1997--2001 Han-Wen Nienhuys and Jan Nieuwenhuizen.

Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.


This page was built from LilyPond-1.4.12 (stable-branch) by

Anthony Fok <lilypond@packages.debian.org>, Tue Mar 12 01:35:39 2002 HKT.