Re: [Chicken-users] Help solving this phasing problem.

2011-02-12 Thread Taylor Venable
On Sat, Feb 12, 2011 at 16:51, Peter Bex peter@xs4all.nl wrote: This imports module-a (which can be internal and nobody has to know it's there) both for syntax and normally, and then re-exports the convenience function. Pardon the interruption, but I wanted to check for my own

[Chicken-users] Using -accumulate-profile

2011-01-17 Thread Taylor Venable
Hi there, I'm building a program with csc and it's running slower than I'd hoped so I'm trying to do some profiling. I tried using the -accumulate-profile option to concatenate information from multiple runs of the program but it seems to produce the same result as just using -profile (i.e.

[Chicken-users] Question about COOPS, generic methods, and modules

2010-09-22 Thread Taylor Venable
Hi there! I found this while writing some code for work earlier (I'm lucky enough to be able to write testing programs in the language of my choice). I define a class and a generic method in a module in a file, then load it into the REPL. I can make an instance of that class, binding it to a

Re: [Chicken-users] More on Packaging eggs

2010-09-13 Thread Taylor Venable
On Mon, Sep 13, 2010 at 9:02 AM, Mario Domenech Goulart mario.goul...@gmail.com wrote: Those are bugs. The version indicated by the .setup file doesn't match the one indicated by the tag directory. We had this problem with the packaging system I wrote for work; there we have a scanning

Re: [Chicken-users] More on Packaging eggs

2010-09-13 Thread Taylor Venable
On Mon, Sep 13, 2010 at 7:44 PM, Taylor Venable tay...@metasyntax.netwrote: On Mon, Sep 13, 2010 at 9:02 AM, Mario Domenech Goulart mario.goul...@gmail.com wrote: Those are bugs. The version indicated by the .setup file doesn't match the one indicated by the tag directory. We had

Re: [Chicken-users] Printing circular lists

2010-08-03 Thread Taylor Venable
On Tue, Aug 3, 2010 at 4:03 PM, Jeronimo Pellegrini j...@aleph0.info wrote: I was wondering how to get Chicken to print cyclic structures using references to previous elements instead of looping, like this, for example (this is what Gauche does on the REPL, and what Guile's display

[Chicken-users] Interpreter Warnings w/ Line Numbers?

2010-07-30 Thread Taylor Venable
Hi there, when loading bad code into the interpreter, I get warnings. Is it possible to have line numbers printed for where these warnings are triggered? Sometimes a message like reference to possibly unbound identifier: x is hard to trace down if I use variable x a lot in the code. Just to be

Re: [Chicken-users] Spiffy Question: handle-not-found

2010-02-15 Thread Taylor Venable
On Sun, 2010-02-14 at 18:17 +0100, Peter Bex wrote: On Sun, Feb 14, 2010 at 11:39:18AM -0500, Taylor Venable wrote: The Spiffy documentation says about the value of handle-not-found: It is a procedure of one argument, the path (a string) that was requested. However, it seems that the actual

[Chicken-users] Spiffy Question: handle-not-found

2010-02-14 Thread Taylor Venable
regardless of the existence of files in the path: (string-join (cdr (uri-path (request-uri (current-request / 'prefix) Thanks for the clarification, -- Taylor Venable http://metasyntax.net/ ___ Chicken-users mailing list Chicken-users@nongnu.org http

Re: [Chicken-users] Spiffy Question: handle-not-found

2010-02-14 Thread Taylor Venable
/ (y)) (else (handle-other) Where x and y do their own header setup, and write their own output. -- Taylor Venable http://metasyntax.net/ ___ Chicken-users mailing list Chicken-users@nongnu.org http

Re: [Chicken-users] Problem trying to use SSAX

2009-10-23 Thread Taylor Venable
On Fri, Oct 23, 2009 at 09:03:58AM +0200, Peter Bex wrote: On Thu, Oct 22, 2009 at 10:10:14PM -0400, Taylor Venable wrote: Error: unbound variable: ssax:scan-Misc I can't see the problem in my code, if there is one; I'm just starting to work with this so any ideas are appreciated

[Chicken-users] Problem trying to use SSAX

2009-10-22 Thread Taylor Venable
-1630] (ssax:scan-Misc633 port607) -- - I can't see the problem in my code, if there is one; I'm just starting to work with this so any ideas are appreciated. Thank you. Taylor Venable http://metasyntax.net

Re: [Chicken-users] testing release candidate for 4.0.0

2009-03-25 Thread Taylor Venable
On Wed, Mar 25, 2009 at 04:31:24PM +0100, felix winkelmann wrote: I tested it on several systems (mingw(+msys), linux), but would appreciate if others could give it a try. Note that some minor recent trunk changes didn't make it, due to unclear portability. On OpenBSD 4.5 x86: Compiles both

Re: [Chicken-users] Build Failure (maybe infinite recursion) on x86_64 Linux

2009-03-23 Thread Taylor Venable
On Mon, Mar 23, 2009 at 09:51:08AM +0100, Tobia Conforto wrote: Taylor Venable wrote: When building Chicken 3.4.7 and higher (up to 3.5.2) on Ubuntu 8.10 x86_64 the chicken compiler goes into an infinite recursion. Excuse my ignorance, how do I check out a version such as 3.4.7 or 3.5.2

Re: [Chicken-users] Build Failure (maybe infinite recursion) on x86_64 Linux

2009-03-23 Thread Taylor Venable
On Mon, Mar 23, 2009 at 08:48:50AM +0900, Ivan Raikov wrote: I doubt this is the case, since the regex unit is almost identical between Chicken 3 and Chicken 4. Taylor, can you compile Chicken with the attached regex.scm and see if there is any routine from the regex unit that is called at

Re: [Chicken-users] Missing chicken-ffi-macros.scm

2009-03-21 Thread Taylor Venable
On Fri, Mar 20, 2009 at 12:17:20PM -0500, Lam Luu wrote: Do you know what is going on, and how to fix it? I saw this also with the Chicken package on Ubuntu. If you compile and install from source this shouldn't happen. (Don't worry, it's quite painless to install from source.) -- Taylor

Re: [Chicken-users] Build Failure (maybe infinite recursion) on x86_64 Linux

2009-03-18 Thread Taylor Venable
On Wed, Mar 18, 2009 at 10:38:30AM +0100, felix winkelmann wrote: Could you try to build chicken 4? (possibly twice, building the compiler with the compiler built from the bootstrap tarball - so that you are really testing the newest version and not some stale code in the bootstrapping

Re: [Chicken-users] Build Failure (maybe infinite recursion) on x86_64 Linux

2009-03-17 Thread Taylor Venable
On Mon, Mar 16, 2009 at 09:36:28PM -0400, Taylor Venable wrote: Since regex.c seems heavily involved in this last case, I've also put it on my website at: http://real.metasyntax.net:2357/tmp/regex.c.gz Looking back at the changes log for the devel releases, I just noticed that the first version

Re: [Chicken-users] Build Failure (maybe infinite recursion) on x86_64 Linux

2009-03-16 Thread Taylor Venable
On Sun, Mar 15, 2009 at 12:31:21PM +0100, felix winkelmann wrote: On Wed, Mar 11, 2009 at 7:25 PM, Taylor Venable tay...@metasyntax.net wrote: Well I was able to trigger a hang in my build with the debugging symbols by setting the nursery stack size to 10k. ?Debug log from GDB is attached

Re: [Chicken-users] Build Failure (maybe infinite recursion) on x86_64 Linux

2009-03-16 Thread Taylor Venable
On Mon, Mar 16, 2009 at 09:09:41PM +0100, felix winkelmann wrote: Well done, Taylor. Chicken coalesces all allocations inside a single generated C procedure and allocates it as one chunk. It seems here that the stack is already too small to hold the data, even after a minor GC was invoked. Can

Re: [Chicken-users] Build Failure (maybe infinite recursion) on x86_64 Linux

2009-03-11 Thread Taylor Venable
On Tue, Mar 10, 2009 at 02:19:56PM +0100, felix winkelmann wrote: On Mon, Mar 9, 2009 at 3:43 PM, Taylor Venable tay...@metasyntax.net wrote: The bug becomes more and more phantasmagorical! When initially compiling chicken-boot with make PLATFORM=linux DEBUGBUILD=yes bootstrap the bug

Re: [Chicken-users] Build Failure (maybe infinite recursion) on x86_64 Linux

2009-03-09 Thread Taylor Venable
On Sat, Mar 07, 2009 at 11:46:03PM +0100, felix winkelmann wrote: On Fri, Mar 6, 2009 at 3:11 PM, Taylor Venable tay...@metasyntax.net wrote: I have no direct evidence that it was an infinite recursion. It was just a guess by the symptoms, but admittedly I have little knowledge

Re: [Chicken-users] Build Failure (maybe infinite recursion) on x86_64 Linux

2009-03-06 Thread Taylor Venable
On Fri, Mar 06, 2009 at 01:45:10PM +0100, felix winkelmann wrote: On Wed, Mar 4, 2009 at 4:32 PM, Taylor Venable tay...@metasyntax.net wrote: Hi all, When building Chicken 3.4.7 and higher (up to 3.5.2) on Ubuntu 8.10 x86_64 the chicken compiler goes into an infinite recursion. ?CPU

[Chicken-users] Build Failure (maybe infinite recursion) on x86_64 Linux

2009-03-04 Thread Taylor Venable
Hi all, When building Chicken 3.4.7 and higher (up to 3.5.2) on Ubuntu 8.10 x86_64 the chicken compiler goes into an infinite recursion. CPU usage spikes, memory usage increases boundlessly, and no output is ever produced. In Chicken 3.4.7 the file that when compiled triggers this behaviour is

Re: [Chicken-users] Segmentation Fault in C_mutate on Chicken 3.5.0 (OpenBSD i386)

2009-02-26 Thread Taylor Venable
On Mon, Feb 23, 2009 at 08:14:41PM -0500, Taylor Venable wrote: Using Chicken 3.5.0 on OpenBSD 4.5-beta I get segmentation faults when using the http egg. This occurs every time when a 404 or 500 error is generated by the http-server. Happily, this seems to have been fixed by reverting