[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lilypond (e)bnf description
From: |
Han-Wen Nienhuys |
Subject: |
lilypond (e)bnf description |
Date: |
Wed, 13 Oct 2004 01:23:37 +0200 |
address@hidden writes:
>
> Hi people,
>
> I'm working on a (e)bnf description of lilypond's syntax. It's not
> finished yet but I've put it here:
>
> http://www.pedrokroeger.net/lilypond/lilypond.ebnf
>
> in case someone wants to give me suggestions.
My suggestion: write a patch for Bison to dump the parsed YACC file
without all the C(++) code. In the long run it will save you the
maintenance of the grammar :-).
(if you're not into hacking C , I would try to post a feature request
to the bison hackers. )
--
Han-Wen Nienhuys | address@hidden | http://www.xs4all.nl/~hanwen