Question re GDB interface functions and Guile

2013-06-18 Thread Ian Hulin
hings we'd find them really useful and would look to include them in our documentation (CG = Contributors' Guide). Thanks in advance, and yes, I've just invested in a hard copy of "Debugging with GDB" as well as "The Guile 2.0 Reference Manual". Cheers, Ian Hulin (LilyPond Developer)

Re: Deprecation question - is proposed code-change back-portable to V1.8.7?

2012-08-16 Thread Ian Hulin
Hi Ludo, Many thanks for the quick response, Cheers, Ian On 16/08/12 14:51, Ludovic � wrote: > Hi, > > Ian Hulin skribis: > >> From looking at the docs following the recommendations in the >> deprecation messages, it looks like the offending line need

Deprecation question - is proposed code-change back-portable to V1.8.7?

2012-08-16 Thread Ian Hulin
urn scm_module_variable ( module, sym); Does scm_module_variable internally do what scm_module_lookup_closure did, and if so, does Guile 1.8.7 do exactly the same as Guile 2.06? Asking hear as we're getting near to a release and I don't want to break anything bigtime on the LilyPond repo. Chee

Re: Fwd: How to "do what guild does" from within code?

2012-08-14 Thread Ian Hulin
Hi Andy, On 19/07/12 20:07, Andy Wingo wrote: > Heya Ian, > > On Thu 12 Jul 2012 19:33, Ian Hulin writes: > >> I'm trying to do an on-the-fly compilation of the LilyPond >> module initialization scheme code during lily initialization. >> Autocompilation i

Re: Lilypond - GNUCash

2012-07-18 Thread Ian Hulin
back in the day. The folks over there should be able to give you, us in LilyPond and GNUCash a steer as to how we can all play nicely together and behave properly on your system, Cheers, Ian Hulin P.S. to Graham/bug-squad: how do we handle this sort of issue for LilyPond, if it looks like it's

Fwd: How to "do what guild does" from within code?

2012-07-12 Thread Ian Hulin
or. I've fiddled around with catch/scm_c_catch/scm_internal_catch without success. Is there a way I can use scm_c_with_throw_handler to do this? If so how do I get the handler to get the catch code to recognize "yeah, we've handled this one, it's OK to carry on". Cheers, Ian

Null (begin) blocks - V2.0.3 reports error was OK in V2.0.2

2011-11-21 Thread Ian Hulin
expression (begin), a begin with no sub-expressions. Such an expression returns the `unspecified' value. How do we mend our code, or has Guile V2.0.3 broken? Cheers, Ian Hulin

scm_local_eval V2 question

2011-11-16 Thread Ian Hulin
the scope of doing this, given that we are parsing Scheme code embedded in LilyPond source. Thanks in advance for any pointers, Cheers, Ian Hulin

load-from-path and compile-file question

2011-11-06 Thread Ian Hulin
preted after being loaded and when it was compiling. (load-from-path) showed the expected module '(lily), (compile-file) showed an "anonymous" module with an internally generated name. Tested with Guile V2.0.3. Is this a bug, or are we doing something seriously screwy in our code? Cheers, Ian Hulin

Re: Strange error from %search-load-path via include-from-path when parameter is not a literal string

2011-10-19 Thread Ian Hulin
I had been hoping to defer :-{. Cheers, Ian Hulin On 17/10/11 22:36, Andy Wingo wrote: > Hi, > > On Mon 17 Oct 2011 20:20, Ian Hulin writes: > >> I'm trying to write a V2/V1 compatible function like the >> following: >> >> (define (ly:include the-file)

Strange error from %search-load-path via include-from-path when parameter is not a literal string

2011-10-17 Thread Ian Hulin
ition 1 (expecting string): the-file. Bug or user error? (include-from-path) also gives similar errors at the REPL when the filename argument is not a literal string. Guile Version is 2.0.2 Cheers, Ian Hulin

Re: Compatibility V1.8 and 2.0 - deprecated (debug-enable 'debug)

2011-08-10 Thread Ian Hulin
t will not trigger deprecation warnings, or will this: (if (not (guile-v2)) (debug-enable 'debug)) ;; Guile V1.8.7 be all I can do? Cheers, Ian Hulin

Compatibility V1.8 and 2.0 - deprecated (debug-enable 'debug)

2011-08-08 Thread Ian Hulin
w to crack this so we don't have to run with deprecated Guile code when running with V2. Cheers, Ian Hulin

Guile V2.0 (include) procedure.

2011-07-19 Thread Ian Hulin
is it affected by GUILE_AUTO_COMPILE? Cheers, Ian Hulin

Re: Generating compiled scm (.go) files as part of LilyPond build

2011-07-19 Thread Ian Hulin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue 19 Jul 2011 15:28:41 BST, Andy Wingo wrote: > Hi Ian, > > On Tue 19 Jul 2011 15:18, Ian Hulin writes: > >> It may boil down to a matter of taste, but I find double and >> triple extensions on a filename intrinsical

Re: Generating compiled scm (.go) files as part of LilyPond build

2011-07-19 Thread Ian Hulin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29/01/11 11:21, Andy Wingo wrote: > Hi Ian, > > [re-adding the list; please keep the list CC'd on all guile-related > topics] > > On Fri 28 Jan 2011 22:37, Ian Hulin writes: > >> Are you going to fix the do

Question: 'External references' in compiled scheme files when moving to Guile V2 from V1.8.7

2011-06-21 Thread Ian Hulin
l we need to load each .go file produced immediately after compiling it in order to resolve any external references, or is the byte-compiled code smart and defers resolving external references until such time as the .go file itself is loaded? Cheers, Ian Hulin

Re: Generating compiled scm (.go) files as part of LilyPond build

2010-12-30 Thread Ian Hulin
Hi Andy, On 01/12/10 22:08, Andy Wingo wrote: > On Wed 01 Dec 2010 22:21, Ian Hulin writes: > >> i...@greebo$ guile-tools compile scm/lily-library.scm >> wrote >> `/home/ian/.cache/guile/ccache/2.0-0.S-LE-4/home/ian/lilypond/scm/lily-library.scm.go' > > You wi

Re: Generating compiled scm (.go) files as part of LilyPond build

2010-12-01 Thread Ian Hulin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Andy, On 29/11/10 21:17, Andy Wingo wrote: > On Sat 27 Nov 2010 18:42, Ian Hulin writes: > >> Our long-term aim, when we are able to move to using Guile V2.0 as an >> infrastructure, is to byte-compile as many of these as poss

Re: Generating compiled scm (.go) files as part of LilyPond build

2010-11-30 Thread Ian Hulin
Hi Neil, On 28/11/10 12:01, Neil Jerram wrote: > Ian Hulin writes: > >> OK, here's the question: if we decide not to rely on AUTOCOMPILE, and >> we are able generate our own .go files in, say, /out/scm, >> how do we get guile to use the compiled version >&

Generating compiled scm (.go) files as part of LilyPond build

2010-11-27 Thread Ian Hulin
#x27;t exist as at V1.9.13. If there was, we could possibly prefix /out/scm to the %compiled-load-path in the same way we fiddle with %load-path for the interpreter. Of course, I'm open to any more elegant solutions. Thanks in advance for any help and/or suggestions, Cheers, Ian Hulin

Re: make-module question.

2010-09-04 Thread Ian Hulin
Hi Andy, On 29/08/10 20:05, Andy Wingo wrote: > Greets, > > On Wed 18 Aug 2010 14:35, Ian Hulin writes: > >> On 18/08/10 15:03, Ludovic Courtès wrote: >>> Ian Hulin writes: >>>> Also what are the args the REPL says you can supply to (make-module)

Re: make-module question.

2010-08-18 Thread Ian Hulin
Hi Ludo, On 18/08/10 15:03, Ludovic � wrote: > Hi! > > Ian Hulin writes: > >> (make-module) doesn't seem to appear in the documentation, Is it >> supported, discouraged or deprecated? > > It is undocumented but safe to use. > >> Is there a suppor

make-module question.

2010-08-10 Thread Ian Hulin
at are the args the REPL says you can supply to (make-module) ?. Cheers, Ian Hulin