(no subject)

2009-12-21 Thread Neil Jerram
l...@gnu.org (Ludovic Courtès) writes: > I should have mentioned this one: > http://thread.gmane.org/gmane.comp.programming.garbage-collection.boehmgc/3185 > . > > This is normally somewhat fixed in current BDW-GC CVS, but Guile itself > may have troubles of its own dealing with cancellation. Th

(no subject)

2009-12-21 Thread Neil Jerram
Ken Raeburn writes: > On Sep 30, 2009, at 16:59, Neil Jerram wrote: >> I've cherry-picked the following branch_release-1-8 fixes. > > With these fixes, indeed, I can't reproduce the problem any more; I > left the test program running for over an hour, whereas before it > would trigger the problem

(no subject)

2009-12-21 Thread Neil Jerram
l...@gnu.org (Ludovic Courtès) writes: >>> This is normally somewhat fixed in current BDW-GC CVS, but Guile itself >>> may have troubles of its own dealing with cancellation. >> >> Thanks. I thought already about cancellation, but I couldn't see >> anything in the test program that would do that.

(no subject)

2009-12-21 Thread Neil Jerram
l...@gnu.org (Ludovic Courtès) writes: > should be OK. However, I’m slightly concerned about MSVC’s > __declspec: does it work if it sees: > >__declspec(dllexport) extern SCM foo (SCM); >extern SCM foo (SCM); I don't know for sure, but I know I've seen "function redecla

(no subject)

2009-12-21 Thread Neil Jerram
l...@gnu.org (Ludovic Courtès) writes: > Hi Neil, > > Neil Jerram writes: > >> But what about using SCM_API instead of extern? Wouldn't that always >> generate the right code? (At least for building guile itself.) > > You’re right. It’ll work for building Guile itself, but most probably > fail

More explicit support for Unicode title case

2009-12-21 Thread Julian Graham
Hi all, I was doing some auditing of Guile's support for the functionality required by the R6RS "Standard Libraries" specification, and I noticed that Guile's character and string APIs are missing support for title-cased Unicode characters [0]. ...So I added it. Find attached a patch (including

Re: More explicit support for Unicode title case

2009-12-21 Thread Ludovic Courtès
Hi Julian, Julian Graham writes: > I was doing some auditing of Guile's support for the functionality > required by the R6RS "Standard Libraries" specification, and I noticed > that Guile's character and string APIs are missing support for > title-cased Unicode characters [0]. ...So I added it.

tracing and profiling at the repl

2009-12-21 Thread Andy Wingo
Hello, wi...@unquote:~/src/guile$ meta/guile Guile Scheme interpreter 0.5 on Guile 1.9.6 Copyright (C) 2001-2008 Free Software Foundation, Inc. Enter `,help' for help. scheme@(guile-user)> (define (fibo x) ... (if (or (= x 1) (= x 2)) ... 1 ... (+ (fi

Re: More explicit support for Unicode title case

2009-12-21 Thread Julian Graham
Hi Ludovic, Thanks for the feedback! > Please wrap lines to 80 characters. Done. > I’d remove this function altogether because with SRFI-14 one can just > use ‘(char-set-contains? char-set:title-case chr)’ if that’s what’s > intended.  Given the definition of ‘char-set:title-case’, I expect i

Re: More explicit support for Unicode title case

2009-12-21 Thread Mike Gran
> >> +SCM_API scm_t_wchar scm_c_titlecase (scm_t_wchar c); > > > > I think it should be documented in the manual. > > Actually, I'm going to hold off on this, since documenting this would > require at least some explanation of scm_t_wchar, which seems to me to > be outside the scope of this patch