[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: BNF grammar
From: |
Francisco Vila |
Subject: |
Re: BNF grammar |
Date: |
Fri, 12 Dec 2008 11:34:53 +0100 |
2008/12/12 Dennis Harmath <address@hidden>:
> 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