> -----Original Message----- > From: Trevor Daniels [mailto:[EMAIL PROTECTED] > 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 _______________________________________________ lilypond-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/lilypond-devel
