Re: need: scm_from_{utf8,latin1}_{string,symbol,keyword}

2010-09-07 Thread Mike Gran
> From: Ludovic Courtès > >> Besides, there’s the undocumented ‘scm_from_stringn’ and the internal > >> ‘scm_to_stringn’, which can convert from/to any encoding. I think they > >> were initially kept internal because we weren’t quite sure about the > >> API. Mike? > > > > Also, I think

Re: ‘match’ and “k or more” patterns

2010-09-07 Thread Alex Shinn
On Mon, Sep 6, 2010 at 9:12 PM, Ludovic Courtès wrote: > > Well, since there are only 9 of them, they could probably be implemented > as special cases, with an augmented ‘match-gen-ellipses’, which would be > told the minimum number of elements expected? Oh, the Wright syntax limited you to 9 for

Re: gen-scmconfig is broken

2010-09-07 Thread Bruce Korb
Hi Ludovic, On Tue, Sep 7, 2010 at 3:19 PM, Ludovic Courtès wrote: > > Both problems mean that libltd.so isn’t in the loader’s search path > ($LD_LIBRARY_PATH).  In 1.8 ‘configure’ wrecks havoc when libltdl.so > isn’t found, instead of actually diagnosing this. > > At any rate, adding libltdl.so’

Re: gen-scmconfig is broken

2010-09-07 Thread Andy Wingo
On Tue 07 Sep 2010 20:48, Bruce Korb writes: > $ ./configure --prefix=/net/home/bkorb > [[..]] > $ which -a libtool > /usr/local/src/guile/guile-1.8.7/libtool > /net/home/bkorb/bin/libtool > /usr/local/bin/libtool > /usr/bin/libtool I don't really get what the deal is. Do you want --pre

Re: gen-scmconfig is broken

2010-09-07 Thread Ludovic Courtès
Hi, Bruce Korb writes: > (My private directory fails "configure", [...] > ./gen-scmconfig >> scmconfig.h.tmp > ./gen-scmconfig: error while loading shared libraries: libltdl.so.7: > cannot open shared object file: No such file or directory Both problems mean that libltd.so isn’t in the loader

Re: need: scm_from_{utf8,latin1}_{string,symbol,keyword}

2010-09-07 Thread Andy Wingo
Hi, On Tue 07 Sep 2010 19:11, l...@gnu.org (Ludovic Courtès) writes: > Mike Gran writes: > >> From: Ludovic Courtès >> >>> Besides, there’s the undocumented ‘scm_from_stringn’ and the internal >>> ‘scm_to_stringn’, which can convert from/to any encoding. I think they >>> were initially kept

Re: FFI supports callbacks

2010-09-07 Thread Andy Wingo
On Tue 07 Sep 2010 02:30, "Jose A. Ortega Ruiz" writes: >> Also consider that this is a low-level interface; presumably people >> should be programming with some sort of `define-c-wrapper' macro that >> presents a nicer interface. > > Is anyone working on this? I happen to quite like the design p

gen-scmconfig is broken

2010-09-07 Thread Bruce Korb
I've installed libtool in many places to ensure that it should find it. (My private directory fails "configure", so I used /usr/local for --prefix. This should *NOT* be necessary.): Version 1.8.7 on CentOS release 5.5 (Final) $ ./configure --prefix=/net/home/bkorb [[..]] $ make [[

Re: need: scm_from_{utf8,latin1}_{string,symbol,keyword}

2010-09-07 Thread Ludovic Courtès
Hi Mike, Mike Gran writes: >> From: Ludovic Courtès > > >> Besides, there’s the undocumented ‘scm_from_stringn’ and the internal >> ‘scm_to_stringn’, which can convert from/to any encoding. I think they >> were initially kept internal because we weren’t quite sure about the >> API. Mike? >

Re: need: scm_from_{utf8,latin1}_{string,symbol,keyword}

2010-09-07 Thread Mike Gran
> From: Ludovic Courtès > Besides, there’s the undocumented ‘scm_from_stringn’ and the internal > ‘scm_to_stringn’, which can convert from/to any encoding. I think they > were initially kept internal because we weren’t quite sure about the > API. Mike? Also, I think we were trying to avoid

Re: Updated Guile Tutorial

2010-09-07 Thread Daniel Kraft
I forgot to CC, so here again. Original Message Subject: Re: Updated Guile Tutorial Date: Tue, 07 Sep 2010 15:15:34 +0200 From: Daniel Kraft To: Andy Wingo References: <4a7b223e.6050...@domob.eu> <4a92b446.2090...@domob.eu> <87tyyxsheh@ossau.uklinux.net> <4c6fe4e8.6030

Re: FFI supports callbacks

2010-09-07 Thread Ludovic Courtès
Hi! "Jose A. Ortega Ruiz" writes: >> Also consider that this is a low-level interface; presumably people >> should be programming with some sort of `define-c-wrapper' macro that >> presents a nicer interface. > > Is anyone working on this? I’m not really working on this but I’m interested (I’ve

Re: FFI supports callbacks

2010-09-07 Thread Tristan Colgate
A new swig flavour to support guile's ffi would be really nice too. I've been building up patches to update the regular guile support but might take a look at this as an alternative. On 7 September 2010 01:30, Jose A. Ortega Ruiz wrote: > On Mon, Sep 06 2010, Andy Wingo wrote: > > > [...] > >> Al