Re: [Chicken-users] SWIG Policy Question

2006-04-11 Thread felix winkelmann
On 4/11/06, John Lenz [EMAIL PROTECTED] wrote: A test was recently added to the SWIG test suite that checks if overflows are correctly detected. It was added for guile, which allows arbitrarily big integers, so a check if the integer is inside the range of a long is possible. Since the

Re: [Chicken-users] Adding a free slot to Chicken symbols

2006-04-11 Thread felix winkelmann
On 4/11/06, John Cowan [EMAIL PROTECTED] wrote: felix winkelmann scripsit: Adding an extra slot to symbols would be pretty handy, and would make it easy to implement different Lisps in chicken, but I wonder how much code depends on C_SIZEOF_SYMBOL being 3 Anyway, give the patch a

Re: [Chicken-users] Re: https

2006-04-11 Thread Daishi Kato
Well, there was a bug in the previous patch. Assuming nobody else is going to review the patch, it is committed into the svn repository. Please make sure if your application works fine with the newer egg, or let us know any problems. Daishi ___

Re: [Chicken-users] Re: https

2006-04-11 Thread Daishi Kato
At Tue, 11 Apr 2006 07:30:50 +0900, Daishi Kato wrote: - In order to support persistent connection, the support of Transfer-Encoding: chunked would be required; but I didn't come up with a nice implementation idea for http:GET. Any comments? Currently I can't think of

Re: [Chicken-users] Re: https

2006-04-11 Thread felix winkelmann
On 4/11/06, Daishi Kato [EMAIL PROTECTED] wrote: One thing I can't figure out is how to parse a hex number in a string. For example, I want to get a number 58 from a string 3a It's like the opposite of (format ~X ...). Such procedure in Chicken? (string-number 3a 16) ? It isn't

Re: [Chicken-users] srfi-40 space leak?

2006-04-11 Thread felix winkelmann
On 4/10/06, Dan [EMAIL PROTECTED] wrote: Hi all, After reading the SRFI-40 (stream library) egg documentation at http://www.call-with-current-continuation.org/eggs/srfi-40.html I thought that the implementation includes the srfi-45 fixes to avoid space leaks. However, the test program

Re: [Chicken-users] Adding a free slot to Chicken symbols

2006-04-11 Thread felix winkelmann
On 4/11/06, John Cowan [EMAIL PROTECTED] wrote: felix winkelmann scripsit: Sorry, what exactly doesn't work? Can you be more specific? Do you mean uninterned symbols don't get GC'd when wrapped in a weak locative? $ csi ___ _ __ / ___/ / (_)___/ /_ ___ / /__/ _ \/ /

Re: [Chicken-users] srfi-40 space leak?

2006-04-11 Thread Peter Bex
On Tue, Apr 11, 2006 at 01:46:05PM +0200, felix winkelmann wrote: On 4/10/06, Dan [EMAIL PROTECTED] wrote: Hi all, After reading the SRFI-40 (stream library) egg documentation at http://www.call-with-current-continuation.org/eggs/srfi-40.html I thought that the implementation

Re: [Chicken-users] Adding a free slot to Chicken symbols

2006-04-11 Thread John Cowan
felix winkelmann scripsit: Urks. I see - it's disabled for symbols. I have to update the docs. Well, I don't need access to the slots of a symbol with locative-ref, but I will need access to the symbol itself with locative-object. Perhaps you could update the code instead? -- After fixing the

Re: [Chicken-users] Adding a free slot to Chicken symbols

2006-04-11 Thread felix winkelmann
On 4/11/06, John Cowan [EMAIL PROTECTED] wrote: felix winkelmann scripsit: Urks. I see - it's disabled for symbols. I have to update the docs. Well, I don't need access to the slots of a symbol with locative-ref, but I will need access to the symbol itself with locative-object. Perhaps you

Re: [Chicken-users] srfi-40 space leak?

2006-04-11 Thread Dan
He is looping through the elements with a tail-recursive function. This should not pose any problems, since only the car of the list needs to be forced, after which it is discarded and recursion takes place on the cdr. Thanks Peter -- that's what I meant. The SRFI-40 egg describes itself as

[Chicken-users] Fix for here docs with ##

2006-04-11 Thread Reed Sheridan
Here documents with the ## syntax fail with large inputs, because it creates a list of tokens and calls ##sys#print-to-string on them. When there are more than, what is it, 126 tokens, it fails. A fix is attached, which changes ##sys#print-to-string to a unary procedure and changes every call to

Re: [Chicken-users] Spelling mistake of variable *remove-command* in chicken-setup.scm

2006-04-11 Thread felix winkelmann
Thanks, Thomas. Patch is applied. cheers, felix On 4/11/06, Thomas Chust [EMAIL PROTECTED] wrote: Hello, I just reinstalled an egg and saw that chicken-setup was spitting out an error message about *remove-command** being a nonexistent variable. A darcs patch fixing the spelling is

Re: [Chicken-users] Fix for here docs with ##

2006-04-11 Thread felix winkelmann
And thanks to you, too, Reed. cheers, felix On 4/11/06, Reed Sheridan [EMAIL PROTECTED] wrote: Here documents with the ## syntax fail with large inputs, because it creates a list of tokens and calls ##sys#print-to-string on them. When there are more than, what is it, 126 tokens, it fails.