Re: [Chicken-users] dynamic web resources?

2006-10-17 Thread Andreas Zwinkau
In the file attached to the message pointed by the link above, you can find the code to map a part of an URL to a Scheme procedure name. To achieve that, the http-server's `http:find-resource' procedure needs to be modified to match regexes. As far as I understand, it's similar to what you

Re: [Chicken-users] qdbm and chicken

2006-10-17 Thread felix winkelmann
On 10/17/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all. Does anybody have a binding for qdbm in chicken? Not that I know of, but there's Alex Shinns gdbm. cheers, felix -- http://galinha.ucpel.tche.br:8081/blog/blog.ssp ___ Chicken-users

[Chicken-users] read-line (and probably other input routines) - unexpected behaviour when reading binary files on Windows

2006-10-17 Thread $)
-- Forwarded message --From: $) [EMAIL PROTECTED]Date: 17.10.2006 13:30Subject: read-line (and probably other input routines) - unexpected behaviour when reading binary files on Windows To: chicken-users@nongnu.orgHi!The Chicken manual says that read-line consumes all input from

Re: [Chicken-users] dynamic web resources?

2006-10-17 Thread Mario Domenech Goulart
Hello Andreas, On Tue, 17 Oct 2006 08:58:00 +0200 Andreas Zwinkau [EMAIL PROTECTED] wrote: In the file attached to the message pointed by the link above, you can find the code to map a part of an URL to a Scheme procedure name. To achieve that, the http-server's `http:find-resource'

Re: [Chicken-users] read-line (and probably other input routines) - unexpected behaviour when reading binary files on Windows

2006-10-17 Thread felix winkelmann
On 10/17/06, $) [EMAIL PROTECTED] wrote: I wonder if this behaviour is by design? Are there any issues related to reading and writing binary data with ports in Chicken Scheme? On Windows, you should pass #:binary (or binary:) to procedures that open files to force binary mode (see the

Re: [Chicken-users] Softscheme

2006-10-17 Thread felix winkelmann
On 10/17/06, Carlos Pita [EMAIL PROTECTED] wrote: I wonder if the softscheme egg improves performance of chicken applications by removing unnecessary runtime type checks. I mean, aren't the primitive operations type checked by themselves? For example, if implementation of primitive + checks

Re: [Chicken-users] read-line (and probably other input routines) - unexpected behaviour when reading binary files on Windows

2006-10-17 Thread John Cowan
$) scripsit: The weird thing is that Scheme IO treats #\x1a (character with code 27) as #!eof when reading from file. This is a behavior hardwired into the Windows C library for compatibility (I kid you not) with the CP/M operating system for 8-bit micros, which did not record the exact

Re: [Chicken-users] dynamic web resources?

2006-10-17 Thread Andreas Zwinkau
I'm not sure I understand. What do you mean variables in this context? Uh, sorry. I was talking about arguments. How does your define-callable-url react on /add, /add/1 and /add/1/2? For summation it may be ok to have a unspecified number of arguments, but consider webapps like blogs or wikis.

Re: [Chicken-users] dynamic web resources?

2006-10-17 Thread Mario Domenech Goulart
Hello Andreas, On Tue, 17 Oct 2006 20:16:21 +0200 Andreas Zwinkau [EMAIL PROTECTED] wrote: I'm not sure I understand. What do you mean variables in this context? Uh, sorry. I was talking about arguments. How does your define-callable-url react on /add, /add/1 and /add/1/2? For summation

[Chicken-users] bug: readline egg tab completion fails for ''

2006-10-17 Thread Dan
Set .csirc up for readline: (require 'readline 'regex) (current-input-port (make-gnu-readline-port csi )) (gnu-history-install-file-manager (string-append (or (getenv HOME) .) /.csi.history)) Type (define aaabbb 10), then try to complete aaabbb (by typing a prefix and pressing tab). The