Re: [Chicken-users] foreign-lambda* ?

2005-07-12 Thread Thomas Chust
with gcc-4.0 as well, so it shouldn't be a system problem. cu, Thomas Chust ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

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

2005-07-19 Thread Thomas Chust
with the builtin ##sys#thread-block-for-i/o primitive. For an example how that can be done and neatly wrapped into a custom input port, I suggest you read the sourcecode of CHICKEN's tcp unit. cu, Thomas Chust ___ Chicken-users mailing list Chicken-users

[Chicken-users] External representation of strings with non-printable characters

2005-08-03 Thread Thomas Chust
. cu, Thomas Chust ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

[Chicken-users] SQLite3 bindings

2005-08-06 Thread Thomas Chust
/sqlite3.egg, the documentation, which is also included in the egg, at http://www.chust.org/projects/sqlite3.html. I have done some basic tests with the code but its most likely not bug-free yet, so feel free to report any problems. cu, Thomas Chust

[Chicken-users] Bug in the numbers egg?

2005-08-10 Thread Thomas Chust
this is some kind of amplified rounding error or a more serious problem. Any idea or work around is appreciated. cu, Thomas Chust ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

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

2005-08-10 Thread Thomas Chust
(add1 i))) ((= i 100) n)) 1 cu, Thomas Chust ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken

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

2005-08-11 Thread Thomas Chust
Hello, thank you for the patch. I don't even think it is too slow, as it is still comparable in speed with dc, which is really fast. With this problem removed, the numbers egg is really cool! cu, Thomas Chust Alex Shinn wrote: At Wed, 10 Aug 2005 20:37:21 -0500, Alex Shinn wrote

Re: [Chicken-users] SQLite3 bindings

2005-08-11 Thread Thomas Chust
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 Thomas Chust wrote: [...] The egg is available at http://www.chust.org/projects/sqlite3.egg, the documentation, which is also included in the egg

Re: [Chicken-users] low level strings

2005-09-06 Thread Thomas Chust
Am 06.09.2005, 15:56 Uhr, schrieb Michael Benfield [EMAIL PROTECTED]: Is it possible within Scheme code to get pointers to Scheme strings that can be passed to C? I don't want to just pass it as a c-string; I need [...] Just pass the string as a scheme-object and manipulate it by hand then.

Re: [Chicken-users] Re: Problem w/ Utf8 egg: couldn't load case-map-1.dat

2005-09-16 Thread Thomas Chust
Am 16.09.2005, 01:36 Uhr, schrieb Alex Shinn [EMAIL PROTECTED]: [...] I'm also considering breaking the utf8 module into 3 modules: utf8 utf8-srfi-13 utf8-srfi-14 which will speed compile and load times (it's a pretty huge module). This is also because I plan to write a string-cursor

[Chicken-users] Strange parameters in the runtime library

2005-09-17 Thread Thomas Chust
Hello, I just found the following prototype in chicken.h: C_fctexport void C_apply(C_word c, C_word closure, C_word k, C_word fn, ...) C_noret; I wondered why on earth there was a closure parameter and a fn parameter. Reading the sourcecode of runtime.c carefully reveiled that the closure

Re: [Chicken-users] Strange parameters in the runtime library

2005-09-19 Thread Thomas Chust
Am 19.09.2005, 15:31 Uhr, schrieb felix winkelmann [EMAIL PROTECTED]: [...] The standard calling convention is: argument-count, closure, continuation, arguments... so, the closure is the actual closure object that contains the code-pointer and the free variables. Primitives have no free

Re: [Chicken-users] libcurl?

2005-09-28 Thread Thomas Chust
Am 28.09.2005, 16:17 Uhr, schrieb Graham Fawcett [EMAIL PROTECTED]: Hi folks, I'd like to be able to fetch data from an HTTPS url. I don't see this capability within the existing Chicken eggs. A libcurl binding for chicken would probably be the most expedient route. [...] Hello, on a

Re: [Chicken-users] libcurl?

2005-09-28 Thread Thomas Chust
Am 28.09.2005, 17:48 Uhr, schrieb Thomas Chust [EMAIL PROTECTED]: [...] on a sidenote, there is also the crypt egg for CHICKEN, which I wrote ages ago. It is able to provide SSL support and should be usable together with the http egg by providing custom ports generated with crypt

Re: [Chicken-users] alternate build tools

2005-10-01 Thread Thomas Chust
Am 01.10.2005, 15:53 Uhr, schrieb Brandon J. Van Every [EMAIL PROTECTED]: [...] Does SCons have the ability to abstract away the compiler details? A friend of mine said it didn't, that you had to specify all the flags manually yourself. [...] Hello, SCons doesn't require you to set

Re: [Chicken-users] alternate build tools

2005-10-03 Thread Thomas Chust
Am 03.10.2005, 15:47 Uhr, schrieb Patrick Brannan [EMAIL PROTECTED]: [...] 1. Note that I had to name the exe chicken_d. I could easily rename it in a later step, but the point is that CMake doesn't seem to easily support custom file names. Files will be named for the target plus the

Re: [Chicken-users] ajax egg

2005-10-03 Thread Thomas Chust
Am 03.10.2005, 14:32 Uhr, schrieb Daishi Kato [EMAIL PROTECTED]: [...] Well, well. For those of who are interested, here is my sample code, which is a quick hack and is dirty. [...] I would think more how to improve ajax.scm. Basically, support of script-enabled(?) paremeters and

Re: [Chicken-users] libcurl?

2005-10-04 Thread Thomas Chust
Am 04.10.2005, 13:42 Uhr, schrieb Thomas Chust [EMAIL PROTECTED]: [...] I will have to duplicate a whole bunch of code from CHICKEN's tcp unit, though. It's just a matter of copy and paste, but my question to Felix is, whether it wouldn't perhaps make sense to export all the ##net

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

2005-10-04 Thread Thomas Chust
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 to package up the continuation and move it to another

Re: [Chicken-users] alternate build tools

2005-10-05 Thread Thomas Chust
Am 05.10.2005, 02:36 Uhr, schrieb Brandon J. Van Every [EMAIL PROTECTED]: Thomas Chust wrote: Am 03.10.2005, 15:47 Uhr, schrieb Patrick Brannan [EMAIL PROTECTED]: [...] 1. Note that I had to name the exe chicken_d. I could easily rename it in a later step, but the point

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

2005-10-05 Thread Thomas Chust
Am 05.10.2005, 03:41 Uhr, schrieb Peter Keller [EMAIL PROTECTED]: On Tue, Oct 04, 2005 at 10:21:55PM -, Thomas Chust wrote: CHICKEN does not have any feature that would make continuations serializable; it would mean that you somehow have to transform machine pointers to arbitrary memory

[Chicken-users] OpenSSL bindings

2005-10-05 Thread Thomas Chust
Hello, a preliminary version of my OpenSSL SSL/TLS library bindings for chicken is available at http://www.chust.org/projects/openssl.egg so far only the client side is implemented and verification of peer certificates is useless, because you cannot load certificate chains, yet.

Re: [Chicken-users] OpenSSL bindings

2005-10-06 Thread Thomas Chust
Am 05.10.2005, 14:21 Uhr, schrieb Thomas Chust [EMAIL PROTECTED]: [...] a preliminary version of my OpenSSL SSL/TLS library bindings for chicken is available at http://www.chust.org/projects/openssl.egg [...] Documentation for the full interface as it will be (in a few days or so

Re: [Chicken-users] OpenSSL bindings

2005-10-10 Thread Thomas Chust
Am 10.10.2005, 05:00 Uhr, schrieb felix winkelmann [EMAIL PROTECTED]: [...] Do you think it is also sensible to convert things like the tcp-server egg into SSL enabled versions? Hm...I don't know - the tcp-server code is pretty simple - I guess it would be not too much work to roll

Re: [Chicken-users] Choosing between FFI approaches

2005-11-01 Thread Thomas Chust
on the low level side. Everytime you acces the variable in example B, machine data has to wrapped into or unwrapped from scheme data types -- with the int type in CHICKEN this should not cause noticeable performance losses, but with, for example, double variables it would. cu, Thomas Chust

[Chicken-users] Patch for the futures egg

2005-11-05 Thread Thomas Chust
Hello, I think, the futures egg should conform to its own documentation and export the future-complete?, -failed?, -condition procedures ;) A patch for futures-base.scm is attached. cu, Thomas futures.patch Description: Binary data ___ Chicken-users

Re: [Chicken-users] Extensions and my scons-chicken.

2005-11-05 Thread Thomas Chust
Am 05.11.2005, 18:06 Uhr, schrieb Pupeno [EMAIL PROTECTED]: [...] Should I scan all the sources to find (declare (uses extname)) and then look for the /usr/local/lib/chicken/extname.setup, extract all the filenames from the file list and link against them all ? [...] Hello, it would

Re: [Chicken-users] Making an extension of various files

2005-11-06 Thread Thomas Chust
Am 06.11.2005, 16:13 Uhr, schrieb Pupeno [EMAIL PROTECTED]: How do I make an extension of two or more files ? [...] Hello, the short answer is: It's possible, but why on earth would you want to do that ;) The long answer is that CHICKEN generates a C-function executing the top-level

[Chicken-users] Update of the sqlite3 egg

2005-11-08 Thread Thomas Chust
Hello, yesterday I realized a really stupid mistake of mine in sqlite3:changes, which I fixed. I also renamed sqlite3:call-with-temporary-statement to sqlite3:call-with-temporary-statements and enabled it to create any number of prepared statements (but the new function is still backwards

Re: [Chicken-users] Amb egg setup

2005-11-11 Thread Thomas Chust
Am 11.11.2005, 03:34 Uhr, schrieb Kon Lovett [EMAIL PROTECTED]: Attached is a corrected setup for the amb egg. [...] Argh! Thanks for the correction -- I am generating the .setup files automatically and hadn't configured my Makefile correctly for an extension with syntax :( cu, Thomas

Re: [Chicken-users] s11n + rpc

2005-11-11 Thread Thomas Chust
Am 11.11.2005, 22:30 Uhr, schrieb Zbigniew [EMAIL PROTECTED]: I was testing out the RPC egg and noticed it didn't work between a Mac and a PC. This stems from endian issues in the s11n egg. Now, I don't know if serialization was ever intended to work across architectures, but I went ahead and

Re: [Chicken-users] s11n + rpc

2005-11-13 Thread Thomas Chust
Am 12.11.2005, 14:48 Uhr, schrieb Sean Doran [EMAIL PROTECTED]: On 12 Nov, 2005, at 13:58, felix winkelmann wrote: I'm not sure how to proceed, though. One approach would be to translate the binary output into a tagged/ marked-up format like *gasp* XML... [...] Hello, CHICKEN already

Re: [Chicken-users] possible lazy-let macro?

2005-11-16 Thread Thomas Chust
Am 16.11.2005, 09:18 Uhr, schrieb Daishi Kato [EMAIL PROTECTED]: [...] Does anyone know of any existence of a lazy-let macro, which does the following? convert from (lazy-let ([a (get-a)][b (get-b)]) (if (condition) a b)) into (if (condition) (get-a) (get-b)) [...] Hello, I haven't

Re: [Chicken-users] Handling unstandard reader macros.

2005-11-17 Thread Thomas Chust
Am 17.11.2005, 15:21 Uhr, schrieb Pupeno [EMAIL PROTECTED]: [...] READ throws errors when it encounter the reader macros (those starting with #). I am not interested in them, I'd just like to ignore them and not get any error [...] Hello, I think set-dispatch-read-syntax! is the

Re: [Chicken-users] Handling unstandard reader macros.

2005-11-18 Thread Thomas Chust
Am 19.11.2005, 01:18 Uhr, schrieb Pupeno [EMAIL PROTECTED]: On Thursday 17 November 2005 14:23, felix winkelmann wrote: You will have to add reader-procedures (via set-read-synrax! or set-dispatch-read-syntax!) for the missing macros yourself and skip the contents. After reading about it, it

Re: [Chicken-users] Handling unstandard reader macros.

2005-11-20 Thread Thomas Chust
Am 19.11.2005, 09:30 Uhr, schrieb Pupeno [EMAIL PROTECTED]: [...] I am parsing Chicken Scheme source code in the search for all the includes. Hello, I dug up a piece of code to allow CHICKEN's read to parse CHICKEN source containing the # ... # syntax. But I must admit that it isn't

Re: [Chicken-users] Dynamic loading foreign C library problem

2005-11-22 Thread Thomas Chust
Am 22.11.2005, 17:04 Uhr, schrieb Matthew David Parker [EMAIL PROTECTED]: [...] So I had to do sizeof(strlen(argstring) + 1) instead. Hello, what is that sizeof operator doing there? It should just be something like malloc(strlen(argstring) + 1) otherwise the value of the expression will

Re: [Chicken-users] Returning a scheme object inside another

2005-11-23 Thread Thomas Chust
Am 23.11.2005, 12:40 Uhr, schrieb felix winkelmann [EMAIL PROTECTED]: On 11/23/05, Thomas Chust [EMAIL PROTECTED] wrote: By the way, could someone perhaps explain me what exactly C_mutate does? I played around with it a little and found that I have apparently totally misunderstood

Re: [Chicken-users] How do you use Chicken?

2005-11-23 Thread Thomas Chust
Am 23.11.2005, 15:51 Uhr, schrieb Ralph Allan Rice [EMAIL PROTECTED]: [...] I have been monitoring the list for a couple of months now. I am curious about the type of projects or applications that everyone has been creating using Chicken. I've seen some of the applications listed at

Re: [Chicken-users] Objective-C interface (sort of...)

2005-11-24 Thread Thomas Chust
Am 24.11.2005, 13:44 Uhr, schrieb felix winkelmann [EMAIL PROTECTED]: [...] libffi should work fine on OS X, so I don't see a problem here. It should, but it never did for me... After all the failed attempts, I have developed a certain dislike for the libffi library ;) objc_msgSendv() might

Re: [Chicken-users] Objective-C interface (sort of...)

2005-11-25 Thread Thomas Chust
Am 25.11.2005, 06:49 Uhr, schrieb felix winkelmann [EMAIL PROTECTED]: [...] Well, objc_msgSendv is undocumented, and we have to construct calls somehow, anyway. I don't know how easy it is to build NSInvocation instances by hand, but it all looks like a hack as well (just as with libffi),

Re: [Chicken-users] Objective-C interface (sort of...)

2005-11-26 Thread Thomas Chust
Am 26.11.2005, 14:30 Uhr, schrieb felix winkelmann [EMAIL PROTECTED]: On 11/25/05, Thomas Chust [EMAIL PROTECTED] wrote: Building NSInvocation instances is even easier than doing everything by hand -- for example the parsing of ObjC parameter type encoding strings is much less work, because

Re: [Chicken-users] Current date/time?

2005-11-26 Thread Thomas Chust
Am 26.11.2005, 23:52 Uhr, schrieb Matt Gushee [EMAIL PROTECTED]: [...] Is there a function that returns the current date/time? I've looked carefully through the posix interface docs, and can't find it there; and I see that Chicken doesn't support SRFI-19 (wouldn't that be a good idea?). So,

Re: [Chicken-users] Chicken mode for Emacs?

2005-12-05 Thread Thomas Chust
On Mon, 5 Dec 2005, RalphMoritz wrote: [...] is there an Emacs mode available that will run csi as an inferior Emacs process (preferably with syntax highlighting)? Starting csi from eshell isn't so cool... [...] Hello, standard Emacs distributions usually include support for starting an

Re: [Chicken-users] crazy behaviour in csi!

2005-12-05 Thread Thomas Chust
On Mon, 5 Dec 2005, Sunnan wrote: #;31 (define rec itrec) #;32 ((rec zero? 1 * sub1) 6) Error: during expansion of (letrec ...) - (letrec) unexpected object: [...] Hello, I would say this is expected behaviour, because rec is bound in macro transformer space -- see

Re: [Chicken-users] Questions on changing Chicken runtime and some other stuff

2005-12-16 Thread Thomas Chust
On Fri, 16 Dec 2005, SergeyKhorev wrote: [...] So I was wondering how difficult would be a task replacing Chicken runtime system? My idea is to keep current runtime interface but substitute the body with calls to the host language other than just C. Has anyone looked into this or even

[Chicken-users] Update: sqlite3.egg v1.1.1

2006-01-17 Thread Thomas Chust
Hello, a small but (at least for me) nerve saving update to the sqlite3 interface: All procedures like sqlite3:exec, sqlite3:update, etc. now reset prepared statements before working on them -- this saves you the tedious task of having to do that by hand anyway, but it doesn't break existing

Re: [Chicken-users] FFI with callbacks for gnu readline

2006-01-18 Thread Thomas Chust
On Wed, 18 Jan 2006, LeviPearson wrote: The readline library expects to be able to call a generator function with a string and an index and get back a newly-allocated string that it can use and then free(). To accommodate this, I wrote a C function that calls a define-external'd scheme

RE: [Chicken-users] LALR parser examples

2006-01-23 Thread Thomas Chust
On Mon, 23 Jan 2006, Dominique Boucher wrote: [...] How do I quote the parens and brackets above and use them later? Is that even possible without renaming them to L-BRACKET, etc.? Terminals can only be denoted by Scheme symbols. So yes, you'll have to rename all special characters to

Re: [Chicken-users] syntax-case on mac osx

2006-01-29 Thread Thomas Chust
On Mon, 30 Jan 2006, AshishShrestha wrote: + libtoolize --force --copy --automake autogen.sh: line 3: libtoolize: command not found [...] This is the output of autogen.sh. Where do I get libtoolize? [...] On 1/29/06, Kon Lovett [EMAIL PROTECTED] wrote: make w/ MacOS X is gmake, just use

Re: svn repo and updates (was Re: [Chicken-users] Re: objc egg v0.4

2006-01-30 Thread Thomas Chust
On Mon, 30 Jan 2006, DaishiKato wrote: My suggestion is the following: Check every commit automatically by a script, and upload the egg only if the version number (maybe in the setup file) is changed upwordly. [...] Hello, generally I consider it a bad idea to change something without

Re: [Chicken-users] sqlite3 egg on cygwin

2006-01-31 Thread Thomas Chust
On Tue, 31 Jan 2006, AshishShrestha wrote: [...] The sqlite3 egg is hardcoded to rename the library .so instead of .dll so it fails to install. Hope someone can fix it. [...] Hello, I wonder why this is a problem on Windows. At least on Unices CHICKEN seems to load every piece of compiled

Re: [Chicken-users] sqlite3 egg on cygwin

2006-02-02 Thread Thomas Chust
On Thu, 2 Feb 2006, felixwinkelmann wrote: On 2/1/06, Thomas Chust [EMAIL PROTECTED] wrote: just removing the -o argument in the csc statement will break the following install-extension statement, which relies on the output being called .so In fact, install-extension handles

Re: [Chicken-users] Thread safe hash tables?

2006-03-05 Thread Thomas Chust
On Sat, 4 Mar 2006, KonLovett wrote: On Mar 4, 2006, at 1:05 PM, Thomas Chust wrote: [...] Maybe a macro like this one should be added to CHICKEN: (define-macro (with-locked-mutex-specific mtx proc) (let ((mtx-var (gensym 'mtx))) `(let ((,mtx-var mtx)) (dynamic-wind

[Chicken-users] New scgi egg

2006-03-07 Thread Thomas Chust
Hello, these days I needed a small SCGI server, which I packaged as an egg. The interface is roughly similar to http-server. The documentation and egg can be found at http://www.chust.org/projects/scgi.html http://www.chust.org/projects/scgi.egg cu, Thomas

[Chicken-users] Optional sqlite3 egg update

2006-03-07 Thread Thomas Chust
Hello, the SQLite3 bindings got a big update and now support user defined collation sequences and SQL functions written in Scheme. They also do automagical recompilation of stale statements now. For technical reasons I had to break the valid NULL statement workaround for these changes,

Re: [Chicken-users] Thread safe hash tables?

2006-03-07 Thread Thomas Chust
On Sun, 5 Mar 2006, Reed Sheridan wrote: [...] Why not just do something like: (define (make-locking-hash-table) (cons (make-mutex) (make-hash-table))) (define (locking-hash-table-set! lht . args) (dynamic-wind (lambda () (mutex-lock! (car lht))) (lambda () (apply hash-table-set!

Re: [Chicken-users] Optional sqlite3 egg update

2006-03-07 Thread Thomas Chust
On Tue, 7 Mar 2006, JörgF. Wittenberger wrote: Am Dienstag, den 07.03.2006, 14:51 + schrieb Thomas Chust: On Tue, 7 Mar 2006, JörgF. Wittenberger wrote: actually I must admit that I haven't used the SQLite3 egg for a real multithreaded application so far. Nevertheless I have done

Re: [Chicken-users] Thread safe hash tables?

2006-03-10 Thread Thomas Chust
On Sat, 4 Mar 2006, KonLovett wrote: On Mar 4, 2006, at 12:07 PM, Thomas Chust wrote: On Sat, 4 Mar 2006, KonLovett wrote: On Mar 2, 2006, at 4:37 AM, Thomas Chust wrote: [...] FWIW my reading of the source is 1) No 2) Yes. You could surround access w/ disable/enable interrupts, since

[Chicken-users] Thread safe hash tables?

2006-03-10 Thread Thomas Chust
Hello, just a small question: Are CHICKEN's hash tables threadsafe by design or do I have to surround all hash table accesses in multithreaded applications by a mutex-lock! / mutex-unlock! pair? cu, Thomas ___ Chicken-users mailing list

Re: [Chicken-users] Hash tables in CHICKEN

2006-03-10 Thread Thomas Chust
On Sat, 4 Mar 2006, ThomasChust wrote: [...] just to make sure: Am I right that CHICKEN's hash tables are thread safe or can I mess up their internal data structure by concurrent access from multiple SRFI-18 threads? [...] Sorry for reposting my question, but after more than two days

Re: [Chicken-users] Thread safe hash tables?

2006-03-10 Thread Thomas Chust
On Sat, 4 Mar 2006, KonLovett wrote: On Mar 2, 2006, at 4:37 AM, Thomas Chust wrote: Hello, just a small question: Are CHICKEN's hash tables threadsafe by design or do I have to surround all hash table accesses in multithreaded applications by a mutex-lock! / mutex-unlock! pair? FWIW my

Re: [Chicken-users] stripping accents

2006-03-12 Thread Thomas Chust
On Sat, 11 Mar 2006, Sunnan wrote: Just to make sure, to prevent duplication of effort: is there an easy way to strip accents from unicode characters with Chicken? Not that I know of. Proper case mapping is included in the utf8 egg, but not this functionality. Failing that, is there an

Re: [Chicken-users] darcs tools

2006-03-13 Thread Thomas Chust
On Sun, 12 Mar 2006, Brandon J. Van Every wrote: Is anyone using darcs? Are you using any tools or just straight command line? [...] Hello, I use darcs a lot for small projects. I like that darcs works without any setup work just about everywhere and that it is very flexible in the way

Re: [Chicken-users] Re: https

2006-04-07 Thread Thomas Chust
On Sat, 8 Apr 2006, DaishiKato wrote: [...] After reading the egg code, it can be simply done with the attached patch. It will be committed to the svn, once someone review it and say ok. This works on my machine and looks fine as far as the use of the openssl egg is concerned. I would like

Re: [Chicken-users] Re: https

2006-04-08 Thread Thomas Chust
On Sat, 8 Apr 2006, DaishiKato wrote: At Fri, 7 Apr 2006 17:27:43 + (GMT), Thomas Chust wrote: This works on my machine and looks fine as far as the use of the openssl egg is concerned. I would like to remark, though, that it may be useful if one could somehow specify the second optional

Re: [Chicken-users] (no subject)

2006-04-10 Thread Thomas Chust
On Mon, 10 Apr 2006, marin kooka wrote: [...] Is chicken-entry-points missing in chicken 2.3? I can't find a mtching file anywhere. [...] Hello, the entry points API has been removed from CHICKEN some time ago, because the same results can be achieved better by using procedures defined with

Re: [Chicken-users] mailbox: not working on 2.3?

2006-04-12 Thread Thomas Chust
On Wed, 12 Apr 2006, Graham Fawcett wrote: The mailbox egg does not work on my 2.3 build: it deadlocks on mailbox-wait! if the mailbox is empty. [...] Hello, I think this is not a bug, but rather a desired behaviour. When you execute mailbox-receive! and the message queue is empty, the

[Chicken-users] Note for sqlite3 egg users

2006-04-14 Thread Thomas Chust
Hello, some days ago version 3.3.5 of SQLite3 has been released, with which the sqlite3 egg version 1.5.3 works just fine. It is no longer necessary to use the CVS version of SQLite3 with the 1.5.3 egg or the 3.3.4 version of SQLite3 with the 1.2.0 egg. cu, Thomas

Re: [Chicken-users] rails-like framework

2006-04-22 Thread Thomas Chust
On Sat, 22 Apr 2006, ThomasChust wrote: [...] A small example using TinyCLOS and SQLite3 is attached. It does runtime generation of classes and accessor methods completely automatically from the database schema and is terribly easy to use because I didn't have the time to make up something

Re: [Chicken-users] rails-like framework

2006-04-22 Thread Thomas Chust
On Sat, 22 Apr 2006, PeterBex wrote: On Sat, Apr 22, 2006 at 06:40:41PM +, Thomas Chust wrote: [...] A small example using TinyCLOS and SQLite3 is attached. It does runtime generation of classes and accessor methods completely automatically from the database schema and is terribly easy

[Chicken-users] Patch: Fixed a spelling mistake that broke tracing in csi

2006-04-23 Thread Thomas Chust
Hello, attached is a darcs patchfile that fixes a typo in csi.scm which turned (macroexpand (string-symbol s)) into (macroexpand 8string-symbol s). The error broke tracing of procedure calls. cu, Thomas New patches: [Fixed a spelling mistake that broke tracing in csi Thomas Chust [EMAIL

Re: [Chicken-users] Deployment of Linux binaries

2006-04-25 Thread Thomas Chust
On Mon, 24 Apr 2006, felix winkelmann wrote: [...] While trying to figure out deployment models for binaries, I came up with some hack for Linux: http://galinha.ucpel.tche.br/coop?page=Deploying%20Linux%20binaries [...] Hello, the basic idea behind this mechanism is fine, but the

Re: [Chicken-users] pathname-normalize

2006-05-01 Thread Thomas Chust
On Mon, 1 May 2006, Reed Sheridan wrote: [...] Also, the implementation of absolute-path? has a bug. It returns #t for a pathname starting with windows-style drive letters, but in Unix, A:/foo is a perfectly valid relative pathname. I'm not sure how to conditionalize Chicken code for

[Chicken-users] Making eggs fit for -check-imports

2006-05-05 Thread Thomas Chust
Hello, those of you always updating to the latest darcs version of CHICKEN may have seen that the compiler has a very cool new feature to check for possibly undefined symbols at compile time. It's one of those really useful features that saves you from typos and that I always missed in

Re: [Chicken-users] FFI Question

2006-05-07 Thread Thomas Chust
On Wed, 3 May 2006, Heath Johns wrote: Hey there, nice scheme you've got here folks :) I've got a noob question: Why does this segfault? Should I be doing this differently? I'm using 2.3 stable on linux... [...] Hello, try using c-string* instead of c-string as the return type of nothing.

Re: [Chicken-users] How to compile without chicken-config

2006-05-11 Thread Thomas Chust
On Thu, 11 May 2006, Matthew David Parker wrote: [...] Normally I type: $ chicken -dynamic xpai.ss compiling `xpai.ss' ... generating `xpai.c' ... $ gcc -o xpai.so xpai.c path/to/c/lib/libxpilot_ai.so `chicken-config -shared -cflags -libs` Which makes xpai.so and I can load it in csi. But in

Re: [Chicken-users] efficient procedure for setting a substring?

2006-05-19 Thread Thomas Chust
On Fri, 19 May 2006, Graham Fawcett wrote: While speaking of buffers, is there an efficient, low-level way to set a substring within an existing string? [...] Hello, you can probably hack something together in pure CHICKEN Scheme using move-memory!, pointer-offset and direct access to the

Re: [Chicken-users] static library and link

2006-05-24 Thread Thomas Chust
On Wed, 24 May 2006, felix winkelmann wrote: On 5/23/06, Frédéric Peschanski [EMAIL PROTECTED] wrote: [...] Finally, I don't really understand which commands I should use for compilation : [...] - of the library .o == .so csc X.o Y.o -s -o libXY.so [...] Hello, as I already pointed

Re: [Chicken-users] static library and link

2006-05-24 Thread Thomas Chust
On Wed, 24 May 2006, [EMAIL PROTECTED] wrote: Wed, 24 May 2006 12:13:25 + (GMT), chust wrote: as I already pointed out in my earlier reply to this thread (which is apparently, like so often these days, delayed forever by the mailing list software) Not the software, it's us, the

Re: [Chicken-users] Question regarding length

2006-05-30 Thread Thomas Chust
On Mon, 29 May 2006, Alejandro Forero Cuervo wrote: What is the list length of (1 . 2) anyway? Only 1 makes sense. Hmm, I think throwing an error, ÿÿjust like (length 'foo) doesÿÿ, would make more sense than returning 1 for (length '(1 . 2)). I vote for returning 1.5 ;-) cu,

Re: [Chicken-users] scgi doesn't compile for me

2006-06-03 Thread Thomas Chust
I'm reposting this, as it didn't make its way to the mailing list, apparently. The original problem it refers to seems to have been solved anyway, though... -- On Thu, 1 Jun 2006, jbarciela jbarciela wrote: [...] I want to play with scgi and chicken on my laptop (Mac G4, OSX 10.4.6) and I'm

Re: [Chicken-users] Chicken crashes when updating eggs

2006-06-07 Thread Thomas Chust
Hello, it's probably important to know under which operating system this problem occurs. POSIX compliant systems allow the deletion of files while they are open without causing trouble for the process that opened them. Win32 systems don't regularly allow it -- and in the cases where they do,

Re: [Chicken-users] IEEE float arithmetic

2006-06-20 Thread Thomas Chust
On Tue, 20 Jun 2006, felix winkelmann wrote: On 6/19/06, John Cowan [EMAIL PROTECTED] wrote: [...] 2) Remove the divide-by-zero trap in inexact division, and allow the IEEE results to appear openly. This will mean that (/ 1.0 0.0) will evaluate to Infinity.0, (/ -1.0 0.0) to -Infinity.0,

Re: [Chicken-users] Re: IEEE float arithmetic

2006-06-22 Thread Thomas Chust
On Wed, 21 Jun 2006, John Cowan wrote: Abdulaziz Ghuloum scripsit: Out of curiosity, why not simply do f==1.0/0.0 || f==-1.0/0.0 to test if f is +inf.0/-inf.0? Umm. Too obvious, I guess. I started working these out in Chicken, where dividing by zero throws an exception, so I wanted some

Re: [Chicken-users] IEEE float arithmetic

2006-06-22 Thread Thomas Chust
On Tue, 20 Jun 2006, John Cowan wrote: Thomas Chust scripsit: in my humble opinion it is a good idea to throw an exception by default if a numerical operation does not make sense. This makes error detection in algorithms much easier. If CHICKEN did not throw exceptions in cases like division

Re: [Chicken-users] repl with scgi?

2006-06-28 Thread Thomas Chust
On Wed, 28 Jun 2006, felix winkelmann wrote: On 6/28/06, jbarciela jbarciela [EMAIL PROTECTED] wrote: [...] I used scgi-example.scm as a starting point and just called scgi:add-resource with my own functions. My question is: is there a way to have a REPL in such an environment and modify the

Re: [Chicken-users] repl with scgi?

2006-06-29 Thread Thomas Chust
On Wed, 28 Jun 2006, Graham Fawcett wrote: [...] SCGI the protocol does not specify how the Web application process runs. The original SCGI-server implementation was for Quixote, a Python web framework, and runs as a forking-server (each request is handled by a child process, managed in a

FW: Re: [Chicken-users] synch egg renaming

2006-07-21 Thread Thomas Chust
Sorry, I forgot to Cc the list on this message, so I forward it again: -Ursprüngliche Nachricht- Von: Thomas Chust [EMAIL PROTECTED] Gesendet: 21.07.06 08:22:37 An: Kon Lovett [EMAIL PROTECTED] Betreff: Re: [Chicken-users] synch egg renaming Hello, in my humble opinion the new names

Re: [Chicken-users] understanding the CMake build

2006-09-09 Thread Thomas Chust
On Fri, 8 Sep 2006, Brandon J. Van Every wrote: [...] I wonder, why would anyone else want to understand the CMake build? Unless they wanted to extend it, I can't think of a reason. [...] CMake online documentation in general is poor. The mailing list is great, you can get all your

Re: [Chicken-users] understanding the CMake build

2006-09-10 Thread Thomas Chust
On Sat, 9 Sep 2006, Brandon J. Van Every wrote: [...] As I don't have a Mac, and I don't really know the quality of CMake's MacOS X support, it wouldn't surprise me if there are troubles here. Felix, don't you have a Mac? Not trying to add to your burdens, but we do need someone around here

Re: [Chicken-users] Darcs ChangeLog

2006-09-10 Thread Thomas Chust
On Sun, 10 Sep 2006, Brandon J. Van Every wrote: [...] Please delete ChangeLog from your build directory and your source directory. If you pulled from Darcs, there shouldn't be any ChangeLog in your source directory, but just make sure. Then go to your BUILD directory using THE SAME SHELL

Re: [Chicken-users] CMake build on OS X

2006-09-10 Thread Thomas Chust
On Sun, 10 Sep 2006, felix winkelmann wrote: Built and ran fine (not installed, but in the local directory, but the linker paths look allright). This is version 2.430 (current darcs head). Could you say whether `otool -L chicken-static` does or doesn't report libchicken.dylib? I'm kind of

Re: [Chicken-users] understanding the CMake build

2006-09-11 Thread Thomas Chust
On Sun, 10 Sep 2006, Brandon J. Van Every wrote: Thomas Chust wrote: [...] For this kind of issue, you'd need to write a trivial CMakeLists.txt that reproduces the problem, then get on the CMake mailing list and report the bug. I'll do that if it actually annoys me and if I have too

Re: [Chicken-users] understanding the CMake build

2006-09-12 Thread Thomas Chust
On Mon, 11 Sep 2006, Brandon J. Van Every wrote: [...] Seems pretty important if removing the bootstrap compiler toasts the installation. [...] Hello, removing the bootstrap compiler only toasts the installed chicken-static and csi-static, not chicken and csi. And so far I have *never* had

Re: [Chicken-users] understanding the CMake build

2006-09-12 Thread Thomas Chust
On Mon, 11 Sep 2006, Brandon J. Van Every wrote: [...] But, we'll see if my INCLUDE_DIRECTORIES bulletproofing has any effect on this problem. [...] Hello, I just pulled the latest changes using darcs and rebuilt {chicken,csi}-static with CMake -- I still get dynamically linked

Re: [Chicken-users] scgi with lighttpd

2006-09-25 Thread Thomas Chust
On Sun, 24 Sep 2006, Ashish Shrestha wrote: [...] Don't know the reasons for it but I think, specially for those using lighttpd, it would be more helpful to use script_name or request_uri rather than path_info as path_info is always empty. [...] Hello Ashish, at the moment I don't have

Re: [Chicken-users] Release candidate for 2.5 available

2006-10-04 Thread Thomas Chust
On Wed, 4 Oct 2006, felix winkelmann wrote: [...] A release candidate for CHICKEN 2.5 is available now: [...] Please give it a try. [...] Hello, seems to work fine for me. It even builds and runs flawlessly on Windows using CMake and MinGW! cu, Thomas

Re: [Chicken-users] scgi with lighttpd

2006-10-04 Thread Thomas Chust
On Sun, 24 Sep 2006, Ashish Shrestha wrote: I am using scgi with lighttpd 1.4.11 and really enjoying it. [...] Don't know the reasons for it but I think, specially for those using lighttpd, it would be more helpful to use script_name or request_uri rather than path_info as path_info is always

Re: [Chicken-users] scgi with lighttpd

2006-10-04 Thread Thomas Chust
On Wed, 4 Oct 2006, Ashish Shrestha wrote: Sorry for not updating. Yes, I did find that out while I was trying out different combinations. You mentioned documentation. I didn't find much in the scgi and fastcgi modules. Where is it documented? Hello Ashish, the lighttpd distribution tarball

  1   2   3   4   >