lilypond-devel
[Top][All Lists]
Advanced

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

Internals questions - \include and LilyPond assignments


From: Ian Hulin
Subject: Internals questions - \include and LilyPond assignments
Date: Sun, 06 Nov 2011 19:11:10 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1

Hi all,

A couple of questions in case someone with more internal code-fu than me
can save me rummaging around in the guts of the C++ code, just so I can
get a handle on some behaviour I've noted trying to get LilyPond to fire
up with Guile V2.0.3.

1.  Does processing a file via \include cause a new LilyPond scope ->
    generating a new "anonymous" Guile module for that file?
2.  How and when does a LilyPond assignment
    blah = { lily-statements... }
    get compiled down in to a scheme (define blah .... )?
    Guile V2 complains about stuff like
    ignatzekExceptionMusic = { blah blah2 blah3}
    .
    .
    .
    ignatzekExceptions =
      #(sequential-music-to-chord-exceptions ignatzekExceptionMusic #t)
(end of guile traceback says)
.
.
.
In ice-9/boot-9.scm:
162: 5 [catch-ly-file-failed #<procedure 9853ba0 at⁠
⁠⁠ice⁠-⁠9/eval.scm:378:13
170: 4 [#<procedure 984b780 ()>]
In unknown file:
?:   3 [ly:parse-file "testing.ly"]
In ice-9/eval.scm:
350: 2 [eval # ()]
356: 1 [eval #<memoized ignatzekExceptionMusic> ()]
In unknown file:
  ?: 0 [memoize-variable-access! # #]

ERROR: In procedure memoize-variable-access!:
ERROR: Unbound variable: ignatzekExceptionMusic

Cheers,
Ian




reply via email to

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