Re: [Chicken-users] Problem with Sandbox egg

2005-05-03 Thread felix winkelmann
This is a bug in the sanbox egg, please find a fixed verison attached (I can't upload it right now). On 4/29/05, Alejandro Forero Cuervo [EMAIL PROTECTED] wrote: Hi. I just uploaded my Chicken installation from 1.66 to 1.89. However, I'm experiencing problems with the sandbox egg (which I

Re: [Chicken-users] Problem compiling static executable on Mac OS X

2005-05-03 Thread felix winkelmann
Hm... I have no idea (and no OS X system to test it). Can somebody with access to a Mac confirm this problem? cheers, felix On 5/2/05, Henrik Tramberend [EMAIL PROTECTED] wrote: Hi, i seem to be unable to compile a static chicken executable on Mac OS X. csc -v -static static.scm

Re: [Chicken-users] NAN INF

2005-05-04 Thread felix winkelmann
On 5/3/05, felix winkelmann [EMAIL PROTECTED] wrote: How about some special symbols, like: #!nan #!+inf #!-inf ? Actually, Gambit uses these: +inf. positive infinity -inf. negative infinity +nan. not a number -0. negative zero (`0.' is the positive zero) We should

Re: [Chicken-users] NAN INF

2005-05-04 Thread felix winkelmann
How about some special symbols, like: #!nan #!+inf #!-inf ? cheers, felix On 4/29/05, Kon Lovett [EMAIL PROTECTED] wrote: Hi, Is there a recommended way to represent nan, +inf, and -inf to the reader? I currently use 0.0/0.0, 1.0/0.0, and -1.0/0.0 but this will generate a reader

Re: [Chicken-users] chicken-setup on freebsd

2005-05-05 Thread felix winkelmann
On 5/5/05, Toby Butzon [EMAIL PROTECTED] wrote: Howdy, Wanted to see if anyone was aware of this: I installed chicken from FreeBSD's ports collection, then ran `chicken-setup spiffy`. chicken-setup failed, and it seemed to be caused by a missing chicken.h -- so I added -csc-option -C

Re: [Chicken-users] Problem with string-match?

2005-05-05 Thread felix winkelmann
On 5/3/05, Alejandro Forero Cuervo [EMAIL PROTECTED] wrote: Hmm, I am getting strange behaviour in string-match: (string-match a|b ax) is evaluating to (a) (rather than #f). Interestingly, (string-match a|b xb) evaluates to (b). However, using (a|b) as the regular expression fixes things.

Re: [Chicken-users] Return multiple values from foreign-lambda*

2005-05-08 Thread felix winkelmann
On 5/8/05, Alejandro Forero Cuervo [EMAIL PROTECTED] wrote: Yes, this is kinda what I'm doing right now: I have the Chicken function build a list with all the values and return it. I am just wondering if its possible to do away with this. I forgot to mention that one of the reasons I

Re: [Chicken-users] Help with problem involving GC mixing C/Scheme

2005-05-09 Thread felix winkelmann
On 5/7/05, Alejandro Forero Cuervo [EMAIL PROTECTED] wrote: Hello. Some of my code that involved calling Scheme code from C recently started crashing (probably because the input it handles grew significantly). After investigation, I managed to isolate the error; the following program

Re: [Chicken-users] Multithreading test

2005-05-09 Thread felix winkelmann
On 5/8/05, Alejandro Forero Cuervo [EMAIL PROTECTED] wrote: In Common Lisp, it is valid for an expression to return multiple values when the continuation only accepts one. This is used by many functions to return the usual value as their first value and some other less-often-used results as

Re: [Chicken-users] serialization of functions, closures, continuations

2005-05-18 Thread felix winkelmann
On 5/16/05, Michele Simionato [EMAIL PROTECTED] wrote: Hi Felix, my subject says it all. In Chicken: 1. Can I serialize a function? 2. Can I serialize a closure? No. A function/procedure/closure contains a pointer to compiled C code and is built at run-time. Serialization into a file and

Re: [Chicken-users] regex issues

2005-05-18 Thread felix winkelmann
On 5/15/05, Christian Jaeger [EMAIL PROTECTED] wrote: Hello Is this a bug?: (string-match-positions .*needle.* hay needle stack 2) - #f Shouldn't it be giving ((2 16)) ? This is Version 1, Build 89, on Debian. Here is a patch: --- chicken-old/pcre.scm2005-05-18

Re: [Chicken-users] hash-table with missing keys

2005-05-19 Thread felix winkelmann
On 5/19/05, Michele Simionato [EMAIL PROTECTED] wrote: Yes, this is what I am doing now, but it is ugly, too low-level for my taste. No, it's perfectly fine... ;-) Felix, I give you an ultimatum: or you raise an exception, or you give me a hash-table-has-key? function! ;-) okok...

Re: [Chicken-users] ffi questions and bug (?)

2005-05-19 Thread felix winkelmann
On 5/19/05, Carlos Pita [EMAIL PROTECTED] wrote: Just to get the feeling, can you give me a simple example of (manually) wrapping a trivial C++ class using the ffi and tinyclos (I mean manually without recurring to easy ffi or swig)? That is just to understand how each piece fits. Ok, no

[Chicken-users] Re: SRFI 43: Vector library implementation

2005-05-25 Thread felix winkelmann
On 5/25/05, Zbigniew [EMAIL PROTECTED] wrote: Hello, I've ported the final reference implementation of SRFI 43 to Chicken, along with several additions/fixes described in the documentation. I hope the result is good enough to be put on the eggs page.

Re: [Chicken-users] url-encoded arguments et similia

2005-05-26 Thread felix winkelmann
On 5/26/05, Michele Simionato [EMAIL PROTECTED] wrote: After yesterday praise, let's come back to the usual posts of problems issues ;) It seems I cannot get argument, current-urlencoded-arguments, post-var and get-var working. Here is an example of the issue: (define-http-resource

Re: [Chicken-users] Compilers vs. interpreters

2005-05-31 Thread felix winkelmann
On 5/31/05, Ed Watkeys [EMAIL PROTECTED] wrote: All this talk of Chicken's differing behaviors when interpeting vs. compiling code has gotten me thinking. Who here uses compiled code and who here simply uses the interpreter? My work follows a rough 90/10 split: I never bother compiling the

Re: [Chicken-users] spectralnorm algorithm from comp. language shootout

2005-06-06 Thread felix winkelmann
On 05 Jun 2005 17:20:40 +0200, Matthias Heiler [EMAIL PROTECTED] wrote: Hi, I played with the spectral norm algorithm from the computer language shootout http://tinylink.com/?fFObJZJlyQ Here a few points: - loop is (relatively) slow - it expands into at least one call/cc for example

Re: [Chicken-users] Facilities on top of SRFI 37: args-fold

2005-06-06 Thread felix winkelmann
On 6/6/05, Zbigniew [EMAIL PROTECTED] wrote: args-fold is a neat design, but it can be somewhat complicated (and tedious) to use. I figure most people will write support code to make it easier. Unfortunately I could not find any, so at the risk of reinventing the wheel I wrote my own. Well,

Re: [Chicken-users] Spiffy crashes occasionally

2005-06-09 Thread felix winkelmann
On 6/8/05, Dominique Boucher [EMAIL PROTECTED] wrote: Try wget --no-http-keep-alive Neat. I usually use something like -header 'Connection: close'. cheers, felix ___ Chicken-users mailing list Chicken-users@nongnu.org

Re: [Chicken-users] Spiffy crashes occasionally

2005-06-09 Thread felix winkelmann
On 6/7/05, Peter Bex [EMAIL PROTECTED] wrote: This is the problem: I simply run spiffy, and then someday I find out that it has crashed. Sometimes it takes weeks or even months before it dies, sometimes it takes only days. Would it be possible to examine a core-dump (with a libchicken

Re: [Chicken-users] loading libraries: inconsistencies interpreter vs. compiler

2005-06-12 Thread felix winkelmann
On 6/12/05, Michele Simionato [EMAIL PROTECTED] wrote: I have a library in a subdirectory of CHICKEN_INCLUDE_PATH, say in mystuff/mylib. In the interpreter, from any directory I do (require-extension mystuff/mylib) CHICKEN_INCLUDE_PATH is not intended to be used for libraries (eggs), but

Re: [Chicken-users] loading libraries: inconsistencies interpreter vs. compiler

2005-06-13 Thread felix winkelmann
On 6/13/05, Michele Simionato [EMAIL PROTECTED] wrote: But then, how am I supposed to write a package (package=directory containing various modules and possibily subpackages)? The extension namespace is flat. You would need a common package prefix for that. Or you implement an extension

Re: [Chicken-users] Spiffy crashes occasionally

2005-06-13 Thread felix winkelmann
On 6/11/05, Peter Bex [EMAIL PROTECTED] wrote: Hi all, Spiffy just crashed on my machine. The error I got is pretty lame: thread thread2118 terminated with exception: can not write to socket: (18 HTTP/1.1) Error: (tcp-accept) could not accept from listener: #tcp-listener I have

Re: [Chicken-users] Spiffy crashes occasionally

2005-06-13 Thread felix winkelmann
On 6/13/05, felix winkelmann [EMAIL PROTECTED] wrote: Ahem, no. Well it does, but it doesn't print the error message on retry. Give me a sec... I forgot: you also need a new tcp.scm (attached). BTW, is it somehow possible to nail down under what circumstances the error occurs? (client

Re: [Chicken-users] Spiffy crashes occasionally

2005-06-14 Thread felix winkelmann
On 6/14/05, Peter Bex [EMAIL PROTECTED] wrote: On Tue, Jun 14, 2005 at 07:16:33AM +0200, felix winkelmann wrote: I forgot: you also need a new tcp.scm (attached). BTW, is it somehow possible to nail down under what circumstances the error occurs? (client, request/reply data, ..) I

[Chicken-users] g2 egg

2005-06-19 Thread felix winkelmann
Hello! An interface to the g2 (http:///g2.sourceforge.net) graphics library is now available. cheers, felix ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] close-input-pipe return value

2005-06-20 Thread felix winkelmann
On 6/20/05, Zbigniew [EMAIL PROTECTED] wrote: Oh---for those without the chicken manual at their fingertips---in (with-input-from-pipe COMMAND THUNK) the error code from COMMAND is not available until after THUNK finishes and the pipe is closed. And with-input-from-pipe just returns the

Re: [Chicken-users] Extensions and Scheme variable visibility

2005-06-25 Thread felix winkelmann
On 6/24/05, Zbigniew [EMAIL PROTECTED] wrote: Basically, I want to confirm I cannot restrict the visibility of things exported from an extension, or selectively import them. This would require me to make things much less granular (i.e. combine .scm files together) to avoid including too

[Chicken-users] Re: New egg: sxml-tools

2005-06-27 Thread felix winkelmann
On 6/27/05, Zbigniew [EMAIL PROTECTED] wrote: This egg provides nearly all of the sxml-tools from ssax.sf.net, including sxpath, txpath, xpath, ddo, modif, lazy-xpath, stx, and sxpath+. It is designed for easy updating; you can pull the CVS directory directly into the egg and recompile

Re: [Chicken-users] Documentation system?

2005-07-13 Thread felix winkelmann
On 7/5/05, Mario Domenech Goulart [EMAIL PROTECTED] wrote: Hello Is there some documentation system for chicken? I mean something that you can use from the interpreter. I couldn't find any, so I made a simple parser to the chicken.texi file which generates the documentation in a way that

Re: [Chicken-users] Chg to cscbench for MacOS X

2005-07-13 Thread felix winkelmann
Thanks, Kon. I've applied this patch. cheers, felix On 7/4/05, Kon Lovett [EMAIL PROTECTED] wrote: I suggest the following patch to chicken/benchmarks/cscbench to handle the situation of static linking on MacOS X. See http://developer.apple.com/qa/qa2001/qa1118.html for more detail.

Re: [Chicken-users] gdbm.egg patch

2005-07-15 Thread felix winkelmann
On 7/14/05, Daishi Kato [EMAIL PROTECTED] wrote: Hi felix, Thanks a lot for your modification. The new version works fine, except for the case of fetching non-existent data. (it crashes) My patch is the following, but I hope you have another way, maybe? Argh. You are of course right.

Re: [Chicken-users] non-blocking (read)

2005-07-17 Thread felix winkelmann
On 7/15/05, Daishi Kato [EMAIL PROTECTED] wrote: Hi, How could I make the standard (read) non-blocking? Sorry, but currently I/O from stdio and files is fully blocking. The reason why the REPL doesn't seem to block is due to a clever hack (originally by Chris Double) that performs a

Re: [Chicken-users] New egg: eggdoc

2005-07-17 Thread felix winkelmann
On 7/14/05, Zbigniew [EMAIL PROTECTED] wrote: All of my extensions have been converted to use eggdoc, and the source code for each is contained within this egg. If Felix could also upload the new HTML files for the existing extensions, it would be appreciated. Those are: Done. cheers,

Re: [Chicken-users] Out-of-date arguments in some egg setups

2005-07-18 Thread felix winkelmann
On 7/17/05, Kon Lovett [EMAIL PROTECTED] wrote: postgresql.setup-hygienic rfc3339.setup -H srfi-42.setup -H srfi-57.setup -H test-infrastructure.setup -H utf8.setup -syntax

Re: [Chicken-users] Re: bug report: inexact-exact srfi-18

2005-07-18 Thread felix winkelmann
On 7/17/05, Kon Lovett [EMAIL PROTECTED] wrote: Using Chicken 2.0 # (require-extension srfi-18) ; loading library srfi-18 ... # (seconds-time 1) Here's a patch. Thanks! 120,121c120,121 (let* ([n2 (- n C_startup_time_seconds)] ; seconds since startup [ms (truncate (* 1000

Re: [Chicken-users] libffi in chicken-2.0

2005-07-19 Thread felix winkelmann
On 7/18/05, Daniel B. Faken [EMAIL PROTECTED] wrote: Hello all, I'm trying to build the new release with --with-libffi, but it appears that the configuration is messed up. (my compiler output is appended) Specifically, it seems that libffi is *not* compiled into libchicken, and so to

Re: [Chicken-users] non-blocking (read)

2005-07-19 Thread felix winkelmann
On 7/19/05, Daishi Kato [EMAIL PROTECTED] wrote: For example, an application would be a server program that is controlable by a user through some kind of commands. In other words, a server program with CUI. Currently I could do it by csi, since it does not block the server thread, but what if

Re: [Chicken-users] non-blocking (read)

2005-07-20 Thread felix winkelmann
On 7/19/05, Daishi Kato [EMAIL PROTECTED] wrote: Then, I would make a perl script to communicate with my-http-server and translate the S-expression command to any format, but the point is I would like to compile it. Does this make sense? Absolutely. You can try out Thomas' suggestions.

Re: [Chicken-users] 5 years ago ...

2005-07-20 Thread felix winkelmann
On 7/20/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Felix. Poultry (History of) Science tells us that chicken celebrates its 5th official birthday today (2005-07-20), see groups-beta.google.com/group/comp.lang.scheme/msg/edfb2da16fd89fae?q=CHICKENlr=rnum=4 Yippieee! Thanks for all

Re: [Chicken-users] Problem with Syntax Case in 2.0

2005-07-22 Thread felix winkelmann
On 7/21/05, Dale Jordan [EMAIL PROTECTED] wrote: I have been experimenting with the implementation of srfi-57 which uses syntax-case and its module system. Under Chicken-1.89 I had added (at toplevel) a procedure definition to srfi-57.scm that was used in most of the modules. To be precise

Re: [Chicken-users] C_alloc OK before C_invoke? (was Re: Constructing parameter lists in C)

2005-07-22 Thread felix winkelmann
On 7/21/05, Daniel B. Faken [EMAIL PROTECTED] wrote: On a related note: is it OK to call C_alloc() to construct data to be passed via CHICKEN_invoke()? Yes, that should work. The manual entry for C_alloc() says ..Note that stack-allocated data objects have to be passed to Scheme callback

Re: [Chicken-users] C_alloc OK before C_invoke? (was Re: Constructing parameter lists in C)

2005-07-24 Thread felix winkelmann
On 7/22/05, Daniel B. Faken [EMAIL PROTECTED] wrote: OK. From what I see in chicken.h, we have: # define C_alloca alloca #define C_alloc(n) ((C_word *)C_alloca((n) * sizeof(C_word))) And as I undestand, alloca() is the same as allocating things on the

Re: [Chicken-users] minor documentation fix

2005-07-25 Thread felix winkelmann
On 7/22/05, Daniel B. Faken [EMAIL PROTECTED] wrote: Hi, The manual entry for (define-foreign-record) should indicate that, when using the (TYPENAME FOREIGNNAME) version of NAME, the FOREIGNNAME should be quoted. I actually only figured this out by vague recollection of other FFI

Re: [Chicken-users] Problem with Syntax Case in 2.0

2005-07-25 Thread felix winkelmann
On 7/21/05, Dale Jordan [EMAIL PROTECTED] wrote: I have been experimenting with the implementation of srfi-57 which uses syntax-case and its module system. Under Chicken-1.89 I had added (at toplevel) a procedure definition to srfi-57.scm that was used in most of the modules. To be precise

Re: [Chicken-users] signed-char* not handled correctly

2005-07-25 Thread felix winkelmann
On 7/22/05, Daniel B. Faken [EMAIL PROTECTED] wrote: Hello, I've been encountering problems using the FFI with functions that take a (signed char *). For example, with this short program: --- (define-foreign-type GLbyte signed-char) #! typedef signed char GLbyte;

Re: [Chicken-users] static compile with eggs

2005-07-25 Thread felix winkelmann
On 7/22/05, Daishi Kato [EMAIL PROTECTED] wrote: This may be a faq, but I could not find related subjects in the mailing list archive. Is it possible to build a static excecutable that uses eggs? I'm trying with a simple example, which turned to be not working. Here is the log what I've

Re: [Chicken-users] Constructing parameter lists in C: can I use FFI?

2005-07-25 Thread felix winkelmann
On 7/21/05, Daniel B. Faken [EMAIL PROTECTED] wrote: Now a preferable solution would be to construct the parameter list, as a C_word (scheme-object) via C_list(...), and either * use C_callback(scmfn, arglist) for callbacks or * use a single entry-point 'scm_applyfn' that takes two

Re: [Chicken-users] Constructing parameter lists in C: can I use FFI?

2005-07-25 Thread felix winkelmann
On 7/25/05, felix winkelmann [EMAIL PROTECTED] wrote: x.scm: (define-external (foo (int x) (c-string y)) double (print (list x y)) (sqrt x) ) (##sys#call-host) /* y.c */ #include chicken.h extern double foo(int, char*); int main() { CHICKEN_run(NULL, NULL, NULL

Re: [Chicken-users] Constructing parameter lists in C: can I use FFI?

2005-07-25 Thread felix winkelmann
On 7/25/05, Daniel B. Faken [EMAIL PROTECTED] wrote: Also, this helps me understand why the FFI is so focussed on callbacks (instead of having equivalent facilities for entry points): entry points are just default continuations followed by ##sys#call-host, which temporarily interrupts (so to

Re: [Chicken-users] chicken-setup failure with gmp

2005-07-25 Thread felix winkelmann
The egg should be fixed now. cheers, felix On 7/23/05, Raffael Cavallaro [EMAIL PROTECTED] wrote: On Jul 22, 2005, at Fri, Jul 22, 7:22 42 PM, Dale Jordan wrote: Change to: (map (lambda (s o) (list o (list s) (lambda () (run (csc -s -O2 -d0 -R syntax-case s -L -lgmp)

[Chicken-users] Re: Bug in format: can't iterate over 100 values?

2005-08-01 Thread felix winkelmann
On 7/31/05, Alejandro Forero Cuervo [EMAIL PROTECTED] wrote: Hi. I just thought I'd report a bug in format that has bit me recently. It is very easy to reproduce: (use srfi-1 format) (format #f ~{ ~A~} (iota 200)) Notice that the returned string includes the numbers from 0 to 99,

[Chicken-users] Re: Lightweight threads, etc. : Chicken vs. Gambit

2005-08-01 Thread felix winkelmann
On 7/31/05, Joel Reymont [EMAIL PROTECTED] wrote: How do the lightweight threads in Chicken compare to those of Gambit? Chicken's threads are slower (about half the speed of Gambit in most benchmarks), which is still orders of magnitude better than most other languages (with the exception of

[Chicken-users] recent changes

2005-08-02 Thread felix winkelmann
Hello, y'all! I apologize for being somewhat unresponsive in the moment, but I'm pretty busy in the moment in RL/work. Alejandro's hash-table fix has been incorporated, and the whole entry-point stuff is gone (as suggested by Daniel and Ashely) , together with a simplification of the embedding

[Chicken-users] Re: first experiments with simple-macros

2005-08-03 Thread felix winkelmann
On 8/2/05, Michele Simionato [EMAIL PROTECTED] wrote: 1. First of all, Andre's paper and other documentation should be boundled with the egg. Also, I would like this policy to be valid for all eggs. Good point. I will try to think of something. 2. Various constructs which work

[Chicken-users] Re: the (##sys#call-host) FFI trick

2005-08-03 Thread felix winkelmann
Thanks, I've applied your change. It really makes much more sense to use C_externexport. cheers, felix On 8/1/05, Ashley Bone [EMAIL PROTECTED] wrote: I've now managed to port about half our bigloo libraries to chicken using define-external combined with ##sys#call-host to provide the C

Re: [Chicken-users] Some notes on simple-macros extension

2005-08-03 Thread felix winkelmann
Thanks, I will apply the fixes ASAP. cheers, felix On 8/3/05, Dale Jordan [EMAIL PROTECTED] wrote: I have found a couple of problems with the simple-macros extension: - The definitions of include and define-macro in chicken-macros-module.scm need to have their argument changed from form

Re: [Chicken-users] catch read load errors?

2005-08-04 Thread felix winkelmann
On 8/4/05, Michael Benfield [EMAIL PROTECTED] wrote: Hi - I'm pretty new to Scheme in general and Chicken in particular. Both are awesome. Thanks for giving it a try! I'm wondering, though, is it possible to catch the errors generated by functions like read or load when they encounter

Re: [Chicken-users] process-run return value on windows

2005-08-07 Thread felix winkelmann
On 8/8/05, Ashley Bone [EMAIL PROTECTED] wrote: Hi, It appears that process-run does not return a PID on windows. The attached patch modifies process-spawn in posixwin.scm so that it returns the handle from spawnpv. It is possible that I'm just going crazy, though, because I could have

Re: [Chicken-users] Re: first experiments with simple-macros

2005-08-11 Thread felix winkelmann
On 8/11/05, Zbigniew [EMAIL PROTECTED] wrote: - Startup time of either simple-macros or syntax-case is very long -- 1.7s as opposed to 0.1s without it, and this is on a 1.5GHz machine. It's not much slower than loading the psyntax macros, though. So I am somewhat reluctant to use this very

Re: [Chicken-users] SQLite3 bindings

2005-08-12 Thread felix winkelmann
On 8/11/05, Thomas Chust [EMAIL PROTECTED] wrote: Hello, I fixed two type conversion problems in the sqlite3 egg. The new version is available at the same place as the old one. cu, Thomas Chust Thanks, I'll replace it. cheers, felix ___

Re: [Chicken-users] Bug in the numbers egg?

2005-08-12 Thread felix winkelmann
On 8/11/05, Alex Shinn [EMAIL PROTECTED] wrote: At Wed, 10 Aug 2005 20:37:21 -0500, Alex Shinn wrote: (define (power base e) ; like expt but e must be an integer Might as well go all the way. Attached is a patch to numbers-base.scm which modifies the above power function to work on any

Re: [Chicken-users] current status of tinyclos?

2005-08-14 Thread felix winkelmann
On 8/12/05, Rick Taube [EMAIL PROTECTED] wrote: Am I correct in inferring that Chicken's tinyclos has no slot description interface? For example, oop implementations in the other three schemes allow for slot initializers, keyword initargs, generic accessors and so on. Are these also available

Re: [Chicken-users] How to instantiate a Meroon object by class name.

2005-08-19 Thread felix winkelmann
On 8/18/05, Ed Watkeys [EMAIL PROTECTED] wrote: Hi, I'm writing a program where I'd like to instantiate a Meroon object by class name. Based on what I know about Meroon, it seems like the easiest way is to to something like this: (define (instantiate-object-by-class-name name) (let

Re: [Chicken-users] How to measure time spent in the garbage collector?

2005-08-21 Thread felix winkelmann
On 8/21/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Maybe this aspect of 'time' should be added to the manual :-) 0 seconds elapsed 0 seconds in (major) GC 11 mutations 0 minor GCs 0 major GCs I think line 2 speaks for itself... ;-) I think that I have

[Chicken-users] New snapshot available

2005-08-24 Thread felix winkelmann
Hello! A new development snapshot is now available (2.106) Differences to version 2.0: - Many bugfixes - The read-syntax `#+X Y' is provided as a shorthand for `(cond-expand (X Y) (else))' - `foreign-parse' and `foreign-parse/spec' have been removed - lolevel: Executable byte-vector stuff has

[Chicken-users] Re: Eggs' documentation (was Re: New snapshot available)

2005-08-24 Thread felix winkelmann
On 8/24/05, Mario Domenech Goulart [EMAIL PROTECTED] wrote: I was just looking for the message which originated the request for these features when I received this e-mail. Some questions: 1. Should the documentation be provided as HTML or in the eggdoc format? In HTML, please. It's

Re: [Chicken-users] some feedback on van Tonder's macros as implemented in Chicken

2005-08-28 Thread felix winkelmann
On 8/20/05, Michele Simionato [EMAIL PROTECTED] wrote: I also have a bug report. chicken-macros-module.scm has assert in the export list, but it is not defined, so I cannot use assert. I turns out that assert works fine. It's exported from chicken-internals and tghen re-exported from the

Re: [Chicken-users] Problem with static compile

2005-08-29 Thread felix winkelmann
On 8/28/05, Eric Merritt [EMAIL PROTECTED] wrote: Felix, Thanks for the quick response, I still have a few questions, however, I can wait a few days. I expect that the example will probably answer most of my questions. Don't put yourself out to much though. I only worked on this

Re: [Chicken-users] (new) gtk+ egg using swig

2005-08-31 Thread felix winkelmann
On 8/31/05, Alejandro Forero Cuervo [EMAIL PROTECTED] wrote: Manuel Alejandro CerĂ³n Estrada and I have started a gtk+ and a glib 2.0 eggs to make these libraries callable from Chicken. We decided to use the Chicken swig module to create them (instead of manually defining all the bindings).

Re: [Chicken-users] (new) gtk+ egg using swig

2005-09-01 Thread felix winkelmann
On 8/31/05, Alejandro Forero Cuervo [EMAIL PROTECTED] wrote: It seems to work but we still need to resolve some issues. We are currently doing this in our interface file: %{ static void EGG_signal_handle ( gpointer *obj, gpointer closure_root ) {

Re: [Chicken-users] (new) gtk+ egg using swig

2005-09-02 Thread felix winkelmann
On 9/1/05, Alejandro Forero Cuervo [EMAIL PROTECTED] wrote: We have updated the eggs and added more information to the wiki. The eggs published were created against gtk+ 2.6.9 (for different gtk+ releases one would probably want to go through the whole process of regenerating the eggs from

Re: [Chicken-users] how to use extensions in csi

2005-09-07 Thread felix winkelmann
On 9/8/05, Thomas Rowe [EMAIL PROTECTED] wrote: The extension loader appears to try and get libchicken.so out of /usr/lib even though it's in /usr/local/lib? There is no srfi-1.so file anywhere on my system. Does LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH csi work? cheers, felix

[Chicken-users] Snapshot 2.112

2005-09-15 Thread felix winkelmann
Hi, folks! The current snapshot that is available on the website (2.112) is broken. Please don't use it. My apologies for the current chaos - I made some attempts of migrating my build environment to another machine and failed miserably (or better, tried to rush it). I'm behind a firewall right

[Chicken-users] srfi-76 port

2005-09-20 Thread felix winkelmann
Hi, folks! Attached is a preliminary port of SRFI-76 (r6rs records), in case you want to play. cheers, felix srfi-76.egg Description: Binary data ___ Chicken-users mailing list Chicken-users@nongnu.org

Re: [Chicken-users] undefined reference to `C_syntax_case_toplevel'

2005-09-23 Thread felix winkelmann
On 9/22/05, Shawn Rutledge [EMAIL PROTECTED] wrote: When I try to install the sdl egg, this happens: You have to install the syntax-case egg. The repository is currently a bit of a mess, due to lack of time on my part (and some sillly quick fixes I made). There also changed quite a lot of

Re: [Chicken-users] undefined reference to `C_syntax_case_toplevel'

2005-09-25 Thread felix winkelmann
On 9/24/05, Shawn Rutledge [EMAIL PROTECTED] wrote: That wasn't quite sufficient apparently. No, not at all. My apologies - I simply didn't pay atttention enough: Please remove the `(uses syntax-case)' declaration in sdi-csi.scm. (or fetch the current egg which should have this bug fixed).

Re: [Chicken-users] mingw_libdir bug

2005-09-25 Thread felix winkelmann
Thanks, Brandon. Not being an autotools person myself and not having a mingw environment to test this I must pass. Anybody around here who can reproduce this? cheers, felix ___ Chicken-users mailing list Chicken-users@nongnu.org

[Chicken-users] srfi-76, part 2

2005-09-25 Thread felix winkelmann
Bug in the setup script. Sorry. cheers, felix srfi-76.egg Description: Binary data ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] softscheme, srfi-76

2005-09-25 Thread felix winkelmann
On 9/21/05, Benedikt Rosenau [EMAIL PROTECTED] wrote: I ran into a problem using softscheme, since it defines a symbol 'st: which is taken for a keyword. The script following can be used for typing files. $ cat typeit.scm (use srfi-1 softscheme) (match (command-line-arguments) ((in

[Chicken-users] Eggs

2005-09-25 Thread felix winkelmann
Hi! Current state of affairs, egg wise: - All eggs have been updated to the new SRFI-69 hash-table API, some may have slipped through, so if there are any problems, please report them to me. - utf8 should now work properly (case-map), thanks to Kon Lovett for investigating this and Alex

Re: [Chicken-users] mingw_libdir bug

2005-09-26 Thread felix winkelmann
On 9/25/05, Brandon J. Van Every [EMAIL PROTECTED] wrote: I'm a little confused. A distaste for autotools I can wholly understand and sympathize with. But how then are you using the tools? Just in the simplest way? Or did the configuration script work get done a long time ago, and you've

Re: [Chicken-users] Strange hash-table behavior in compiled code

2005-09-27 Thread felix winkelmann
While I'm on the subject, If I apply the patch and then run make it fails because the makefile assumes that there's a chicken executable in the distribution directory (there isn't). Putting a symlink from my previous installation of chicken to ./chicken fixes this. In this case the best way

Re: [Chicken-users] require-extension and the compiler

2005-09-27 Thread felix winkelmann
On 9/27/05, Shawn Rutledge [EMAIL PROTECTED] wrote: To have a fully compiled, custom interpreter with non-standard syntax, put (declare (run-time-macros)) (include chicken-more-macros) This seems to work, thanks. What are the disadvantages of doing it this way as opposed to running

Re: [Chicken-users] Tcp bug report

2005-09-28 Thread felix winkelmann
On 9/28/05, Reed Sheridan [EMAIL PROTECTED] wrote: Hi, The ports returned by tcp-accept don't handle broken pipes. Server: (define l (tcp-listen 3000)) (define-values (si so) (tcp-accept l)) Client: (define-values (i o) (tcp-connect localhost 3000)) (close-input-port i)

Re: [Chicken-users] wishlist: numbers egg (random) support

2005-09-28 Thread felix winkelmann
That shouldn't be too hard - GMP provides all the neccessary things. I'll give it a try. cheers, felix On 9/28/05, Daishi Kato [EMAIL PROTECTED] wrote: ...not knowing how diffiult it is. Daishi ___ Chicken-users mailing list

Re: [Chicken-users] numbers egg slow?

2005-10-03 Thread felix winkelmann
On 9/29/05, Daishi Kato [EMAIL PROTECTED] wrote: It would be nice to have. Are there any other procedures that are not supported by numbers egg? All arithmetic operations should work with the extended number types. Operations that involve indices (vector-ref, etc...) still want fixnums, but

Re: [Chicken-users] Updated crypt.egg

2005-10-03 Thread felix winkelmann
On 9/30/05, Kon Lovett [EMAIL PROTECTED] wrote: Attached is an updated crypt.egg for cryptlib 3.2.2 Should be renamed to something like crypt3.2.2.egg Use at your own risk. It compiles links but a test suite is a To Do. Hey, thanks, Kon! Should I replace the official version with this

Re: [Chicken-users] alternate build tools

2005-10-04 Thread felix winkelmann
On 10/4/05, Patrick Brannan [EMAIL PROTECTED] wrote: Anyway, I have attached my CMakeLists.txt file for you to look at. Several parts could be optimized with some thought. For one thing, building all of the scm files at the end (csi, chicken-setup, etc) could be handled in a FOREACH loop.

Re: [Chicken-users] Wierd error running chicken

2005-10-06 Thread felix winkelmann
On 10/6/05, John Lenz [EMAIL PROTECTED] wrote: I was just running the SWIG chicken test suite to see if it still ran, since we are planning on releasing a new version of SWIG. I am getting a very strange error. Well, the error itself isn't that strange. But adding a blank line with a

Re: [Chicken-users] Async IO (was Re: libcurl?)

2005-10-06 Thread felix winkelmann
On 10/5/05, Thomas Chust [EMAIL PROTECTED] wrote: Am 04.10.2005, 20:46 Uhr, schrieb Peter Keller [EMAIL PROTECTED]: [...] What if the messages that a message passing system used were themselves continuations? Chicken already compiles to continuation passing style, so what would it mean

Re: [Chicken-users] Significant overhead to simple-macros?

2005-10-07 Thread felix winkelmann
On 10/6/05, Raffael Cavallaro [EMAIL PROTECTED] wrote: Having now understood the docs on importing symbols at the toplevel (I hope!) I've noticed that running the exact same program with simple-macros present represents a factor of 2 slowdown: The expansion of macros and module forms does

Re: [Chicken-users] OpenSSL bindings

2005-10-07 Thread felix winkelmann
On 10/6/05, Thomas Chust [EMAIL PROTECTED] wrote: another preliminary version of the OpenSSL egg is now available. I fixed some broken error handling code and added all the certificate loading routines. The whole thing has undergone some manual testing and seems to work fine. The egg is now

Re: [Chicken-users] i18n for Scheme programs?

2005-10-07 Thread felix winkelmann
On 10/7/05, Alejandro Forero Cuervo [EMAIL PROTECTED] wrote: Well, what I was thinking was of having the Scheme programmer write (_ foo) instead of foo. Here, _ would be a wrapper to gettext(3), which receives foo and returns the translated string. So it would be activated by the

Re: [Chicken-users] OpenSSL bindings

2005-10-10 Thread felix winkelmann
On 10/10/05, Thomas Chust [EMAIL PROTECTED] wrote: Maybe we could change the egg in a way that allows connection management procedures with signatures identical to tcp-(listen|accept) to be specified, defaulting to the plain tcp ones. One could then specify something like (cut ssl-listen

Re: [Chicken-users] Updated eggs

2005-10-11 Thread felix winkelmann
)) (- (expt 2 64) 1))' Daishi At Fri, 7 Oct 2005 08:10:35 +0200, felix winkelmann wrote: Can you send me the exact code that causes this error? cheers, felix On 10/6/05, Daishi Kato [EMAIL PROTECTED] wrote: At Mon, 3 Oct 2005 21:44:40 +0200, felix winkelmann wrote

Re: [Chicken-users] Updated eggs

2005-10-12 Thread felix winkelmann
The code for big_random looks ok, could this be related to expt? (does the error also appear when expt is not involved?) cheers, felix On 10/12/05, Alex Shinn [EMAIL PROTECTED] wrote: At Wed, 12 Oct 2005 07:35:36 +0200, felix winkelmann wrote: Hm... Works fine on this machine. I'll try

Re: [Chicken-users] Updated eggs

2005-10-12 Thread felix winkelmann
Oh, and please run csi with -:d - I'd like to see whether this happens during finalization... cheers, felix On 10/12/05, felix winkelmann [EMAIL PROTECTED] wrote: The code for big_random looks ok, could this be related to expt? (does the error also appear when expt is not involved?) cheers

Re: [Chicken-users] Testing at runtime for the presence of eggs?

2005-10-12 Thread felix winkelmann
On 10/12/05, Alejandro Forero Cuervo [EMAIL PROTECTED] wrote: Hi. Is it possible to test at runtime for the presence of eggs and, depending on the results, provide different definitions for a set of symbols? `extension-info' will return either #f or an a-list of extension information.

Re: [Chicken-users] Updated eggs

2005-10-12 Thread felix winkelmann
[EMAIL PROTECTED] wrote: At Wed, 12 Oct 2005 08:23:07 +0200, felix winkelmann wrote: The code for big_random looks ok, could this be related to expt? (does the error also appear when expt is not involved?) OK, this is just odd. $ csi -R numbers -eval '(print (bitwise-and (random

  1   2   3   4   5   6   7   8   9   10   >