lilypond-devel
[Top][All Lists]
Advanced

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

Re: Docs/scheme help


From: David Kastrup
Subject: Re: Docs/scheme help
Date: Mon, 12 Mar 2012 17:36:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux)

"Phil Holmes" <address@hidden> writes:

> Could someone who understands scheme (David?) take a quick look and
> compare
> http://lilypond.org/doc/v2.15/Documentation/extending/input-variables-and-scheme
> with the German version:
> http://lilypond.org/doc/v2.15/Documentation/extending/input-variables-and-scheme.de.html?
> The German one has the addition of:
>
> %% dummy action to deal with parser lookahead
> #(display "this needs to be here, sorry!")
>
> Does that need to be there for just the de manuals?

I removed that line in the English docs since it is no longer required
here.  The _parser_ (rather than the lexer as previously) now evaluates
the stuff inside of #( ... ), meaning that it does no longer trigger
premature evaluation when asking the lexer for a lookahead token.

That's actually more a matter of "someone who understands the LilyPond
parser" rather than "someone who understands Scheme": to someone merely
understanding Scheme, the previous behavior was quite surprising.  Which
is why I changed it (sacrificing ly:export in the process).

So you can throw the line out in the German docs as well.

-- 
David Kastrup




reply via email to

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