2008/12/12 Dennis Harmath <harmathde...@gmail.com>:
> Greetings,
> I would like to get the pure (E)BNF grammar of the LilyPond language. I looked
> for it in the package, but only found the bison parser code. Is it available
> anywhere, or could it be generated somehow?

I once asked this and this was the answer:

http://www.nabble.com/Atomic-expression--to12995140.html#a13006974

I don't really know the internals in detail, but I think the LilyPond
language is complex because it mixes the expansion language Scheme
along with notes+lyrics+chords modes, and at the same time it
conserves the simplicity needed for everyday scores trhough a number
of implicit constructs. Probably this is where the word 'dirty' comes
from.

Yes, I'd also like to see those nice Pascal language diagrams I had to
learn years ago. A perfectly clean syntax would be desirable to ease
the development of third party plugins for editors etc.

-- 
Francisco Vila. Badajoz (Spain)
http://www.paconet.org


_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to