Re: [GSoC] Proposal: Modular LilyPond Parser (C++)
Han-Wen Nienhuys <[email protected]> Thu, 12 Mar 2026 20:13:19 +0100
| Newsgroups | gmane.comp.gnu.lilypond.devel |
|---|---|
| Message-ID | <CAOw_e7ZagU8uKNPkLGvG1EgpxRqc5y6htwD1KkG_s=YfQ-XyJg@mail.gmail.com> |
On Thu, Mar 12, 2026 at 12:37 AM C. Stroppel <[email protected]> wrote: > > 1. Relieving the parser so that it no longer has to resolve > ambiguities. > 2. Stabilizing the syntax by recognizing more literals in the > lexer. - Guaranteed stability of literals and syntax was the second > reason LilyPond became attractive to me. > recognizing more literals means you are effectively changing the syntax. This is the exact opposite of stability. > Too often, I was unable to open old compositions with new > software. > 3. I want to be able to use the fast lexer for syntax highlighting > without the parser, reserving the parser solely for rendering. > > The parser (that is, parser.yy and its attached pieces) is not involved in rendering at all. -- Han-Wen Nienhuys - [email protected] - http://www.xs4all.nl/~hanwen