GSoC 2011

2011-03-27 Thread Diogo F. S. Ramos
Hello everybody, I've been following some discussions about GSoC here and in the IRC and I would like to say that I would love to work with you in this winter ;). For those who are normally in the IRC, I'm didi. :D As I can see, there are two main ideas: 1. CPAN for Guile 2. RoR for Guile

Re: Fmt Module

2011-03-27 Thread Andreas Rottmann
Noah Lavine writes: > Hello, > >>> I think it would make sense to include ‘fmt’ in core Guile only if the >>> API is reasonably stable and there are infrequent upstream releases, so >>> we don’t quickly end up shipping an old incompatible version. >> >> Agreed, and I don't know if this is the cas

Re: [PATCH] Take some lowhanging fruit to speed up R6RS fixnum operations

2011-03-27 Thread Andreas Rottmann
l...@gnu.org (Ludovic Courtès) writes: > Hello, > > Andreas Rottmann writes: > >> So, that's around 5% improvment (on the ZIP benchmark) for an IMHO >> significantly more hackish implementation. I'm not sure that's worth >> it. WDYT? > > Was it with ‘fixnum?’ inline, or with the ‘fixnum?’ instru

Re: Fmt Module

2011-03-27 Thread Noah Lavine
Hello, >> I think it would make sense to include ‘fmt’ in core Guile only if the >> API is reasonably stable and there are infrequent upstream releases, so >> we don’t quickly end up shipping an old incompatible version. > > Agreed, and I don't know if this is the case or not. > > I would add on a

Re: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.0-124-g5f0d295

2011-03-27 Thread Ludovic Courtès
Hello, A few more thoughts... Andy Wingo writes: > On Fri 25 Mar 2011 18:58, l...@gnu.org (Ludovic Courtès) writes: > >> "Andy Wingo" writes: >> >>> bdw-gc 6.8 compatibility (hopefully) >> >> Aarrrgh. The intent has always been to support 7.x only (bdw-gc.h has >> compatibility stuff for

Re: [PATCH] Take some lowhanging fruit to speed up R6RS fixnum operations

2011-03-27 Thread Ludovic Courtès
Hello, Andreas Rottmann writes: > So, that's around 5% improvment (on the ZIP benchmark) for an IMHO > significantly more hackish implementation. I'm not sure that's worth > it. WDYT? Was it with ‘fixnum?’ inline, or with the ‘fixnum?’ instruction? It’s ironic that while R6RS fixnums are a pe

Re: bdw-gc includes in libguile.h

2011-03-27 Thread Ludovic Courtès
Hello! Andy Wingo writes: > On Fri 25 Mar 2011 19:06, l...@gnu.org (Ludovic Courtès) writes: > >> Andy Wingo writes: [...] >>> I think that in 2.2 we should not expose libgc interfaces in libguile, >> >> That would be great, but then ‘scm_cell’, ‘SCM_NEWSMOB’, etc. would >> need to do a funct

Re: VM stack overflow while calling sxml-match within let* or car

2011-03-27 Thread Ludovic Courtès
Hi! Andy Wingo writes: > On Sun 27 Mar 2011 13:56, Andy Wingo writes: > >> On Sun 27 Mar 2011 13:30, Andy Wingo writes: >> (And Guile crashes upon ,bt.) >>> >>> I wonder if this indicates some compilation bug. >> >> Indeed it does; it's a bug in Guile, not sxml-match. >> >> The following

Re: VM stack overflow while calling sxml-match within let* or car

2011-03-27 Thread nalaginrut
> On Sun 27 Mar 2011 13:56, Andy Wingo writes: > > > On Sun 27 Mar 2011 13:30, Andy Wingo writes: > > > >>> (And Guile crashes upon ,bt.) > >> > >> I wonder if this indicates some compilation bug. > > > > Indeed it does; it's a bug in Guile, not sxml-match. > > > > The following expression exhib

Re: Fmt Module

2011-03-27 Thread Ludovic Courtès
Hello, Andreas Rottmann writes: > l...@gnu.org (Ludovic Courtès) writes: [...] >> Besides it’s still unclear (to me) what the future of Wak and similar >> projects is. I hope that it will take off, but I haven’t forgotten >> Snow, ScmPkg, etc. either. >> > Well, there's a (IMHO) important dif

Re: ‘set-cdr!’ and weak-cdr pairs

2011-03-27 Thread Ludovic Courtès
Hello! Andy Wingo writes: > On Sun 13 Mar 2011 16:25, l...@gnu.org (Ludovic Courtès) writes: > >> The problem is that ‘hash-create-handle!’ above created a weak-cdr >> pair—i.e., a pair whose cdr is /not/ scanned for pointers—but ‘set-cdr!’ >> did not register a disappearing link from O to K+V.

Re: VM stack overflow while calling sxml-match within let* or car

2011-03-27 Thread Andy Wingo
On Sun 27 Mar 2011 13:56, Andy Wingo writes: > On Sun 27 Mar 2011 13:30, Andy Wingo writes: > >>> (And Guile crashes upon ,bt.) >> >> I wonder if this indicates some compilation bug. > > Indeed it does; it's a bug in Guile, not sxml-match. > > The following expression exhibits this bug: > > (car

Re: VM stack overflow while calling sxml-match within let* or car

2011-03-27 Thread Andy Wingo
On Mon 14 Mar 2011 18:40, l...@gnu.org (Ludovic Courtès) writes: > I can reproduce the problem: Me too. How weird. scheme@(guile-user)> (sxml-match '(to "Trove") ((to ,cv) (list cv)) (,_ #f)) $5 = ("Trove") scheme@(guile-user)> (define x (sxml-match '(to "Trove") ((to ,cv) (list cv)) (,_ #f)))

Re: Fmt Module

2011-03-27 Thread Andy Wingo
On Mon 14 Mar 2011 18:16, l...@gnu.org (Ludovic Courtès) writes: > I think it would make sense to include ‘fmt’ in core Guile only if the > API is reasonably stable and there are infrequent upstream releases, so > we don’t quickly end up shipping an old incompatible version. Agreed, and I don't k

Re: SRFI-23

2011-03-27 Thread Andy Wingo
On Fri 11 Mar 2011 17:48, Noah Lavine writes: > Guile supports srfi-23 (the `error' procedure), and probably has > forever, but it's not documented. This patch adds a note in the manual > saying we support it, and also adds srfi-23 to our list of cond-expand > features that we support. Applied,

Re: The usage of -dtrace-scheme-coverage in Lilypond

2011-03-27 Thread Andy Wingo
Hello zhangxy, On Fri 11 Mar 2011 14:31, Han-Wen Nienhuys writes: > On Fri, Mar 11, 2011 at 12:21 AM, zhangxy wrote: >> Now I want to analyze the test coverage of Lilypond. > > Apparently there is a new mechanism for finding coverage. See > https://www.gnu.org/software/guile/manual/html_node/C

Re: ‘set-cdr!’ and weak-cdr pairs

2011-03-27 Thread Andy Wingo
On Sun 13 Mar 2011 16:25, l...@gnu.org (Ludovic Courtès) writes: > The problem is that ‘hash-create-handle!’ above created a weak-cdr > pair—i.e., a pair whose cdr is /not/ scanned for pointers—but ‘set-cdr!’ > did not register a disappearing link from O to K+V. Consequently, O > eventually gets

Re: Fmt Module

2011-03-27 Thread Andy Wingo
On Mon 14 Mar 2011 18:35, Klaus Schilling writes: > From: l...@gnu.org (Ludovic Courtès) > Subject: Re: Fmt Module > Date: Mon, 14 Mar 2011 18:16:17 +0100 >> >> When we do include external libs, we should strive to leave upstream >> files unmodified, as is done for (sxml ssax), (system base lalr

Re: VM stack overflow while calling sxml-match within let* or car

2011-03-27 Thread Andy Wingo
On Sun 27 Mar 2011 13:30, Andy Wingo writes: >> (And Guile crashes upon ,bt.) > > I wonder if this indicates some compilation bug. Indeed it does; it's a bug in Guile, not sxml-match. The following expression exhibits this bug: (car (letrec ((f (lambda () (call-with-prompt

Guile with win32 cross compiling

2011-03-27 Thread Volker Grabsch
Hello Mike, I just tried again to cross compile a win32 version of guile, using the latest 2.0.0 release. My last attempt in April 2010 failed. Much has been improved since then, but there are still fatal errors, so I still can't support guile-2 in mingw-cross-env. [1] 1) The first issue is th

Guile with win32 cross compiling

2011-03-27 Thread Volker Grabsch
Hello Mike, I just tried again to cross compile a win32 version of guile, using the latest 2.0.0 release. My last attempt in April 2010 failed. Much has been improved since then, but there are still fatal errors, so I still can't support guile-2 in mingw-cross-env. [1] 1) The first issue is th