lilypond-devel
[Top][All Lists]
Advanced

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

Re: Lilypond BNF


From: Carl Sorensen
Subject: Re: Lilypond BNF
Date: Wed, 27 Jul 2005 09:21:45 -0600

On Wed, 2005-07-27 at 09:35 -0300, Pedro Kröger wrote:

> I was trying to make an ebnf description, which is more compact and easy
> to read, IMHO. Han-Wen's suggestion is good for generating bnf
> descriptions, but to generate ebnf would require much more work.

Not understanding the differences between bnf and ebnf, I raced off to
google and found this article:
http://www.garshol.priv.no/download/text/bnf.html#id1.

Aha -- now I see why you want to use ebnf instead of bnf -- you get each
definition down to a single line.  Given the index/cross reference
available in the parser.output file, it may be possible to automatically
generate an ebnf automatically.  I'll put it in the hopper to think
about, but won't promise to do anything about it.

Carl
-- 
Carl Sorensen <address@hidden>





reply via email to

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