bug-lilypond
[Top][All Lists]
Advanced

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

Issue 2043 in lilypond: Patch: Lambaize $ and # in #{ ... #} to make Gui


From: lilypond
Subject: Issue 2043 in lilypond: Patch: Lambaize $ and # in #{ ... #} to make Guile V2 happy.
Date: Wed, 16 Nov 2011 10:54:36 +0000

Status: New
Owner: ----
Labels: Type-Enhancement Patch-new

New issue 2043 by address@hidden: Patch: Lambaize $ and # in #{ ... #} to make Guile V2 happy.
http://code.google.com/p/lilypond/issues/detail?id=2043

Lambaize $ and # in #{ ... #} to make Guile V2 happy.

Unfortunately Guile V2 was not happy about the implementation of
closures around #{ ... #} relying on local-eval and
procedure-environment.  This patch abandons this approach and gets
back to a scheme similar like the old one, namely compiling the
expressions inside of #{ ... #} in advance.

Still, a few advantages over the old approach remain: the expressions
are placed into procedures and are evaluated/executed each at the
"proper" time rather than when #{ ... #} starts evaluating, so the
evaluation order is quite the same as outside of #{ ... #}.  Also no
artificial temporary variables/name-spaces are created.

Currently based off staging, hopefully soon off master.

http://codereview.appspot.com/5401041




reply via email to

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