Re: r6rs libraries

2009-03-04 Thread Ludovic Courtès
Hi Julian, Julian Graham writes: > * I'm pleased to report that both the balloons example and the > quotient+remainder macro example are working, which I'm going to take > as more or less a vindication of the module environment-based implicit > phasing approach I've been using. (I didn't quite

EBCDIC

2009-03-04 Thread Mike Gran
Hi- In Guile, there are remnants of code that refer to the EBCDIC character set. Has Guile ever been tested on an EBCDIC machine? I presume that the only such surviving system would be some sort of z/OS. The context of the question is my attempt to make a version of Guile that uses Unicode as

Re: eval-case and toplevel prohibitions

2009-03-04 Thread Ludovic Courtès
Hello! Andy Wingo writes: > So I was thinking: why do we have this fetish for prohibiting certain > forms in a non-toplevel context? I am of a mind to replace eval-case > with eval-when, which is actually more expressive, as it allows us to > discriminate the different phases in non-toplevel con

Re: [VM] Tail recursion and multiple values

2009-03-04 Thread Clinton Ebadi
l...@gnu.org (Ludovic Courtès) writes: > Hello, > > Andy Wingo writes: > >> The compiler is almost to the point that it can replace the interpreter, >> semantically. What is needed is to read and compile toplevel definitions >> one at a time, so we can e.g. change the reader, or the other dynamic

Re: r6rs libraries

2009-03-04 Thread Julian Graham
Hi Ludovic, > But dot files are traditionally "hidden" on Unices.  Why not go with > `foo/bar/6/baz.scm'? Because my initial plan was to make it possible to have R6RS libraries coexist with Guile modules, using the same directory layout and load system -- and, as per our earlier discussion, numbe

Re: Locks and threads

2009-03-04 Thread Neil Jerram
Neil Jerram writes: > - first to address problems reported by helgrind (since I think we > should take advantage of external tools before adding debug code to > Guile internally) Here's another lock ordering fix. (For 1.8.x at least, I haven't checked if it's relevant to master yet.) 1.8.x

Re: Locks and threads

2009-03-04 Thread Linas Vepstas
2009/3/4 Neil Jerram : > Here's another lock ordering fix.  (For 1.8.x at least, I haven't > checked if it's relevant to master yet.) I skimmed it quickly, looks reasonable, except for this: else - SCM_OUT_OF_RANGE (2, handler); + { + SCM_CRITICAL_SECTION_END; +