lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Syntax explanations


From: Carl D. Sorensen
Subject: RE: Syntax explanations
Date: Thu, 12 Jun 2008 11:44:16 -0600


> -----Original Message-----
> From: Trevor Daniels [mailto:address@hidden
> Sent: Thursday, June 12, 2008 9:32 AM
> To: Carl D. Sorensen; lily-devel
> Subject: Re: Syntax explanations
>
>
> Carl D. Sorensen wrote Wednesday, June 11, 2008 1:22 PM
>
> <quote>
> In the past, there has been a call for a full syntax diagram
> for LilyPond.
> Such a diagram should come directly from the parser, IMO.
> Are there current plans for developing one?  At one time, I
> wrote a Python routine that generated a BNF syntax diagram
> from the parser.
> <http://thread.gmane.org/gmane.comp.gnu.lilypond.devel/7431/fo
> cus=7443>
>
> Do we want to include it (or some better version, rolled by
> somebody with more development capability than me) in the
> documentation?  It seems to me that such a diagram would be
> helpful as a place to find out what one could type where.
>
> </quote>
>
> I don't think we'd want to include this in the manuals, but
> it could be useful to those of us who are familiar with
> formal descriptions.  Are you able to bring this up-to-date
> as a guide to the parser code?
>

I haven't tried it yet.  I currently don't have lilypond source on my main 
computer, so I don't have access to the parser output.

I'll try to dig it up on my old computer and see if it will work with the 
current version, if it would be of interest to you.

Of course, if it's useful to you, it's also useful to other developers, and 
getting it into the manual set makes more sense than having it hanging around 
just on my computer.  If itr were part of the documentation there would be 
pressure to fix it whenever it broke, rather than just checking it every 3 
years.

Carl




reply via email to

[Prev in Thread] Current Thread [Next in Thread]