Re: [Chicken-users] Egg Installation Problem

2008-12-29 Thread felix winkelmann
On Mon, Dec 29, 2008 at 4:14 PM, felix winkelmann wrote: > Just delete the following: > > /usr/bin/csc > /usr/bin/csi > /usr/bin/chicken-setup > /usr/lib/chicken > /usr/share/chicken > And /usr/bin/chicken of course. cheers, felix ___

Re: [Chicken-users] Egg Installation Problem

2008-12-29 Thread felix winkelmann
On Mon, Dec 29, 2008 at 4:27 PM, Peter Bex wrote: > > There's a lot more! At least Chicken 3 installs chicken-bug, > chicken-profile, header files in /usr/include, lib(u)chicken in > /usr/lib, manpages for all the programs above and some documentation > that's under share/doc on my system, but may

Re: [Chicken-users] syntax-rules segment matching?

2008-12-30 Thread felix winkelmann
On Mon, Dec 29, 2008 at 11:54 PM, Jack Trades wrote: > (define-syntax def > (syntax-rules () > ((def (name arg ... (opt-arg opt-value) ...) body ...) > (define (name arg ... #!optional (opt-arg opt-value) ...) body ... > > Error: during expansion of (syntax-rules ...) - segment mat

Re: [Chicken-users] Chicken for Python Programmers

2008-12-30 Thread felix winkelmann
On Tue, Dec 30, 2008 at 1:21 AM, Jack Trades wrote: > After noticing "Chicken for blub programmers" on the wiki some months ago, I > decided a good way to learn Scheme would be to produce a similar document. > It's ~50 pages long and written as one large table with various > sub-headings. At las

[Chicken-users] irregex merged

2008-12-31 Thread felix winkelmann
Hello! I have merged the "irregular" branch into trunk, so PCRE has now been replaced with Alex' "irregex" regular expression package. That means, SREs are now supported. I noticed that regex-compilation into internal representation is relatively slow, so precompiling the regexes is quite import

[Chicken-users] Re: irregex merged

2008-12-31 Thread felix winkelmann
On Wed, Dec 31, 2008 at 12:18 PM, felix winkelmann wrote: Sorry, wrong button... > > I have merged the "irregular" branch into trunk, so PCRE has now been > replaced with Alex' "irregex" regular expression package. That means, > SREs are now supported. >

[Chicken-users] happy new year!

2008-12-31 Thread felix winkelmann
I wish everybody a very happy new year! cheers, felix ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

Re: [Chicken-users] A few questions about modules

2009-01-04 Thread felix winkelmann
On Thu, Jan 1, 2009 at 1:06 AM, Jack Trades wrote: > 1. import, if and define-syntax -- Where do they come from? Can they be > redefined? They are currently handled specially (i.e. hardcoded). The proper way to do it would be to introduce internal special forms and define the forms you mentio

Re: [Chicken-users] Xlib text question

2009-01-04 Thread felix winkelmann
On Thu, Jan 1, 2009 at 3:43 PM, William Ramsay wrote: > > Also the doc for the xlib egg has an error. Freeing a structure is given > as: (free-) -> C-POINTER > > I think it should be:(free- C-POINTER) > Thanks - will be fixed. cheers, felix __

[Chicken-users] windows shell problem

2009-01-04 Thread felix winkelmann
Hi! I'm trying to "fix" the mingw build and have encountered a problem that leaves me absolutely dumbfounded. I invoke csi and csc in chicken-install like this: "c:\home\chicken-trunk\bin\csi" ... ... (Note the quotes around the pathname) This works fine in cmd.exe, but fails when using the sy

Re: [Chicken-users] windows shell problem

2009-01-05 Thread felix winkelmann
On Mon, Jan 5, 2009 at 1:37 AM, Lars Nilsson wrote: > On Sun, Jan 4, 2009 at 7:27 PM, Thomas Chust wrote: >> Ivan Raikov wrote: >>> [...] >>>I think the problem is that \ in strings needs to be escaped, >>> [...] >> >> Hello, >> >> I don't think so, unless the escaping problem occurs on the S

Re: [Chicken-users] windows shell problem

2009-01-05 Thread felix winkelmann
On Mon, Jan 5, 2009 at 9:14 AM, felix winkelmann wrote: > > - checkout the current svn trunk > - run "make PLATFORM=mingw PREFIX=c:/home/chicken-trunk DEBUGBUILD=1 > bootstrap" > (prefix must contain drive letter and use forward slashes) > - run "make PLATFORM=m

Re: [Chicken-users] windows shell problem

2009-01-05 Thread felix winkelmann
On Mon, Jan 5, 2009 at 2:14 PM, Lars Nilsson wrote: > On Mon, Jan 5, 2009 at 3:14 AM, felix winkelmann wrote: >> The handling of backslashes as escaping characters is not the problem, >> it seems. If I pass this string (verbatim, just like it is printed here) to >> syst

Re: [Chicken-users] newbie: foreign pointers that depend on Scheme objects

2009-01-06 Thread felix winkelmann
On Sat, Dec 20, 2008 at 4:09 PM, Alejandro Forero Cuervo wrote: >> I'm not sure I can follow your example completely (I always get >> quickly confused with these scenarios), but I understand the >> "weak"/"finalizable" GC-root suggestion. I have to think more about >> it, but it should be possible

Re: [Chicken-users] Is there any way programmatically to determine a macro?

2009-01-06 Thread felix winkelmann
On Mon, Jan 5, 2009 at 11:48 PM, Lam Luu wrote: > Hello all! > Given an S-Expression, (here is an example), is there any way to write a > script to determine whether or not that expression is a procedure-call or a > macro? If it is a macro call, is there anyway to expand it back to the > lowest le

Re: [Chicken-users] windows shell problem

2009-01-06 Thread felix winkelmann
On Mon, Jan 5, 2009 at 6:58 PM, John Cowan wrote: > felix winkelmann scripsit: > >> The handling of backslashes as escaping characters is not the problem, >> it seems. If I pass this string (verbatim, just like it is printed here) to >> system(3): >> >> &qu

Re: [Chicken-users] windows shell problem

2009-01-06 Thread felix winkelmann
On Tue, Jan 6, 2009 at 12:00 AM, Tobia Conforto wrote: > > Have you tried adding an .exe extension to csi? > > Like: "c:\home\chicken-trunk\bin\csi.exe" > > I know it sounds stupid... No, it doesn't. But I'm quite sure John is right with his assumption. > > > You could try and translate the firs

Re: [Chicken-users] windows shell problem

2009-01-06 Thread felix winkelmann
On Tue, Jan 6, 2009 at 1:09 PM, Matthew Flatt wrote: > > If you put an extra set of quotation marks around the argument, won't > they effectively cancel the quotation marks added by system()? > > That is, pass > > ""c:\home\chicken-trunk\bin\csi" -bnq -e "(require-library setup-api)" > -e "(impo

Re: [Chicken-users] using macros at runtime

2009-01-07 Thread felix winkelmann
On Wed, Jan 7, 2009 at 3:26 AM, Heinrich Taube wrote: > im using chicken 3.0.0 . I have a file with some define-macro in it like > this: > > (define-macro (send place . args) > (expand-send place args)) > > I include that file in my main file ChickenBridge.scm > > (include "mymacros.scm") > (dec

Re: [Chicken-users] number->string bug

2009-01-07 Thread felix winkelmann
On Wed, Jan 7, 2009 at 4:20 AM, Kevin Beranek wrote: > I've stumbled upon some interesting behavior of number->string. It > appears that there was previously a ticket filed for a similar bug in > version 2.6 (http://trac.callcc.org/ticket/160). What I've been > observing doesn't seem to be exact

Re: [Chicken-users] windows shell problem

2009-01-07 Thread felix winkelmann
On Tue, Jan 6, 2009 at 1:09 PM, Matthew Flatt wrote: > > If you put an extra set of quotation marks around the argument, won't > they effectively cancel the quotation marks added by system()? > ...Remarkable. It really seems to work. I found this: http://sunriseprogrammer.blogspot.com/2007/06/c

Re: [Chicken-users] compiling with mingw-msys

2009-01-07 Thread felix winkelmann
Hi! I think the mingw (non-msys) build could work now. If you checkout the trunk and do make PLATFORM=mingw PREFIX=c:/some/path bootstrap # note the forward slashes! make PLATFORM=mingw PREFIX=c:/some/path CHICKEN=chicken-boot make PLATFORM=mingw PREFIX=c:/some/path CHICKEN=chicken-boot install

Re: [Chicken-users] handle "unbound variable" exception for undefined procedures?

2009-01-08 Thread felix winkelmann
On Thu, Jan 8, 2009 at 4:58 AM, Shawn Rutledge wrote: > On 1/6/09, Shawn Rutledge wrote: >> Now by reading the source I've discovered ##sys#unbound-in-eval. I >> guess I can get the unbound variable name from there (and expect it to >> break some day) unless somebody has a better idea... > > B

Re: [Chicken-users] Conflict between easyffi and syntax-case

2009-01-14 Thread felix winkelmann
On Thu, Jan 8, 2009 at 1:14 AM, William Ramsay wrote: Hi, William. Sorry for responding so late. > > I am trying to use macros with a program that requires some C > functions. But when I "require-extension syntax-case" and extend easyffi I > get compile errors.If I eliminate either

Re: [Chicken-users] S_IFMT constants

2009-01-16 Thread felix winkelmann
On Fri, Jan 16, 2009 at 11:03 AM, Alaric Snell-Pym wrote: > Peter raised an interesting point on IRC - doesn't stat-regular? et al > do this? The stat-*? functions all take a file name, call stat, then > examine the mode of the result to see if it has the specified type. > > Which makes them a bit

Re: [Chicken-users] S_IFMT constants

2009-01-16 Thread felix winkelmann
On Fri, Jan 16, 2009 at 11:57 AM, Alaric Snell-Pym wrote: > > On 16 Jan 2009, at 10:45 am, felix winkelmann wrote: > >> Everything should be put into eggs. At some stage we have to >> strip down the posixunix and put everything not needed for >> the core system into

Re: [Chicken-users] I need some new eggs: posix-extensions and lzma

2009-01-17 Thread felix winkelmann
On Sat, Jan 17, 2009 at 10:33 AM, Alaric Snell-Pym wrote: > On 16 Jan 2009, at 11:40 am, Alaric Snell-Pym wrote: > >> >> Please may I have svn set up for: >> >> posix-extensions >> >> - in which I will (at Felix's suggestion) put my posix syscall >> extensions. > > Hold your horses, Kon's pointed

Re: [Chicken-users] Github Mirror

2009-01-17 Thread felix winkelmann
On Wed, Jan 14, 2009 at 3:06 AM, Joshua Griffith wrote: > In case anyone is interested, I've mirrored the Chicken repository over at > GitHub using git-svn: > http://github.com/hadronzoo/chicken-scheme/tree/master > > The clone URL is: > git://github.com/hadronzoo/chicken-scheme.git > > It's curre

Re: [Chicken-users] I need some new eggs: posix-extensions and lzma

2009-01-19 Thread felix winkelmann
On Sat, Jan 17, 2009 at 10:33 AM, Alaric Snell-Pym wrote: > On 16 Jan 2009, at 11:40 am, Alaric Snell-Pym wrote: > >> >> Please may I have svn set up for: >> >> posix-extensions >> >> - in which I will (at Felix's suggestion) put my posix syscall >> extensions. > > Hold your horses, Kon's pointed

Re: [Chicken-users] A call to arms

2009-01-22 Thread felix winkelmann
On Thu, Jan 22, 2009 at 12:40 PM, Tobia Conforto wrote: > > Newbie question: can Chicken load and (more importantly) unload/reload a .so > at runtime? I've never tried to. > There is some support for unloading the old instance of a .so, when reloading it (at least on elf-ish systems), but it's un

Re: [Chicken-users] Blobs: a (modest?) proposal

2009-01-24 Thread felix winkelmann
On Sat, Jan 24, 2009 at 1:10 PM, Alaric Snell-Pym wrote: > > > What do people think of this? Would it be welcome in the chicken core > once it's proven itself? > Sure. The use of strings for binary data is indeed something that should be reduced. There is also a lot of copying involved. But one h

Re: [Chicken-users] newbie: questions about set-finalizer!

2009-01-29 Thread felix winkelmann
On Thu, Jan 29, 2009 at 9:41 AM, Jim Ursetto wrote: > On Mon, Dec 22, 2008 at 3:03 AM, felix winkelmann wrote: >> Please try this [finalizer patch]. > > Hi. I am seeing finalizers fail to execute on recent SVN and I think > it is the result of this change. I backed out the

Re: [Chicken-users] SDL egg: SDL_GL_SwapBuffers() not implemented?

2009-02-03 Thread felix winkelmann
On Tue, Feb 3, 2009 at 2:08 PM, Koen Weddepohl wrote: > Greetings, > > I'm interested in using Chicken for homebrew game development. > > Anyway, I've been trying to get the SDL egg to work with the OpenGL egg. > However, I can't get any OpenGL graphics to display. I think this is because > I can'

Re: [Chicken-users] Chicken svn doesn't want to compile on x86-64

2009-02-03 Thread felix winkelmann
On Sun, Feb 1, 2009 at 6:49 PM, Adam C. Emerson wrote: > > The compile fails with: > > /usr/bin/ld: ./libchicken.a(library-static.o): relocation R_X86_64_32 against > `a local symbol' can not be used when making a shared object; recompile with > -fPIC > ./libchicken.a: could not read symbols: Ba

Re: [Chicken-users] Incremental compiling

2009-02-04 Thread felix winkelmann
On Tue, Feb 3, 2009 at 10:12 PM, William Ramsay wrote: > Hi all, > > Is there a way to do incremental compiling in Chicken?My program is > getting quite large and has a lot of include files involved. How do you go > from "csc -vk foo.scm" to > > gcc test.c -o foo.o -c -fno-strict-aliasing -D

Re: [Chicken-users] Incremental compiling

2009-02-04 Thread felix winkelmann
On Wed, Feb 4, 2009 at 2:49 PM, William Ramsay wrote: > I put my list of files into a Makefile using the same code you gave below. > Make runs through each file and compiles it to an object file with no > problem at all. However, when I try to link it all together with > csc -o foo a.o.b.o.c.o >

Re: [Chicken-users] Scheme-based build system for Chicken

2009-02-06 Thread felix winkelmann
On Fri, Feb 6, 2009 at 1:57 AM, Ivan Raikov wrote: > > Dear all, > > Some time last December, I made a partial port of the Chicken > build system to Scheme, and I got as far as getting Chicken 3 to build > under Linux, Mac OS, and Mingw+msys. The code consists mainly of the > PLT make macro, s

Re: [Chicken-users] chicken-primitive-inlines.scm

2009-02-06 Thread felix winkelmann
On Thu, Feb 5, 2009 at 7:34 AM, Jim Ursetto wrote: > On Mon, Feb 2, 2009 at 12:07 PM, Kon Lovett wrote: >> (##sys#slot l 1) -> (%cdr l) >> (##sys#setslot l 1 x) -> (%set-cdr l x) > > I was wondering. The compiler already inlines primitives when > usual-integrations is in effect. Would it not

Re: [Chicken-users] newbie: questions about set-finalizer!

2009-02-13 Thread felix winkelmann
On Thu, Jan 29, 2009 at 9:01 PM, Jim Ursetto wrote: > On Thu, Jan 29, 2009 at 5:56 AM, felix winkelmann wrote: >> On Thu, Jan 29, 2009 at 9:41 AM, Jim Ursetto wrote: >>> I am seeing finalizers fail to execute on recent SVN and I think >>> it is the result of this chan

Re: [Chicken-users] SDL egg: SDL_GL_SwapBuffers() not implemented?

2009-02-14 Thread felix winkelmann
On Tue, Feb 3, 2009 at 2:08 PM, Koen Weddepohl wrote: > Greetings, > > I'm interested in using Chicken for homebrew game development. > > Anyway, I've been trying to get the SDL egg to work with the OpenGL egg. > However, I can't get any OpenGL graphics to display. I think this is because > I can'

Re: [Chicken-users] optimizing mutually recursive loops

2009-02-17 Thread felix winkelmann
On Mon, Feb 16, 2009 at 8:32 AM, Alex Shinn wrote: > When optimizing my Chicken code for speed, I find one of the > most important things is to write the code so that it gets > compiled into a single C function with gotos. It's often so > important to get this that I end up writing very unnatural

Re: [Chicken-users] optimizing mutually recursive loops

2009-02-17 Thread felix winkelmann
On Tue, Feb 17, 2009 at 9:36 PM, John Cowan wrote: > >> I don't think "parameterize" is tail-recursive (it uses dynamic-wind), >> so if you expect procedure calls to be nested deeply, this might not be >> an option. > > It is possible to have dynamic binding and tail recursion at the same > time,

Re: [Chicken-users] Re: bytevectors

2009-02-17 Thread felix winkelmann
On Tue, Feb 17, 2009 at 10:51 PM, Eduardo Cavazos wrote: > > -- > (use srfi-4) > > (define (make-bytevector n) > (u8vector->blob/shared (make-u8vector n))) > > (define bytevector-length blob-size) > > (define (bytevector-ieee-dou

Re: [Chicken-users] dangerous code when running finalizers

2009-02-18 Thread felix winkelmann
On Mon, Sep 8, 2008 at 4:33 PM, Jörg F. Wittenberger wrote: > Hi, > > I managed to have a finalizer raise an exception. This ran into a tight > loop in ##sys#force-finalizers. This patch will ignore them. > Gee, this got completely lost. Sorry, Joerg. cheers, felix __

Re: [Chicken-users] newbie: questions about set-finalizer!

2009-02-18 Thread felix winkelmann
On Fri, Feb 13, 2009 at 2:31 PM, felix winkelmann wrote: >> >> In interpreted code, the finalizers do not trigger at all, even when >> you exit csi via (exit). >> > Hi! I have reverted the original change that caused this for the

Re: [Chicken-users] extreme kludge: load that compiles

2009-02-19 Thread felix winkelmann
On Wed, Feb 18, 2009 at 7:40 PM, Eduardo Cavazos wrote: > Hello, > > Even after R6RS, 'load' is all one can really count on. :-) > > Below is a "hacked" version of load that I'm using for Chicken. If an '.so' > file doesn't exist for the file your loading, the file is compiled and one > is generat

Re: [Chicken-users] SDL egg: SDL_GL_SwapBuffers() not implemented?

2009-02-19 Thread felix winkelmann
On Mon, Feb 16, 2009 at 12:51 AM, Koen Weddepohl wrote: > > The functions sdl-gl-set-attribute and sdl-gl-get-attribute are recognized, > but when I call sdl-gl-get-attribute it doesn't seem to return the value > I've set with sdl-set-attribute. I'm not sure if I'm doing something wrong, > I haven

Re: [Chicken-users] Re: bytevectors

2009-02-19 Thread felix winkelmann
On Tue, Feb 17, 2009 at 11:33 PM, Eduardo Cavazos wrote: > Here's a screenshot of the fruits of today's labors: > > http://proteus.freeshell.org/abstracting-screenshots/game1-turn6-chicken.png > > That was produced by a pure Scheme implementation of the ContextFreeArt > semantics. More info about

Re: [Chicken-users] Optimal C

2009-02-22 Thread felix winkelmann
On Sun, Feb 22, 2009 at 10:56 PM, Rick R wrote: > Thanks! This is exactly what I was looking for. I've been playing with > it a bit, and I've run into a few snags. > > 1. crunch.h wasn't created/copied it my std include. I had to > chicken-setup -keep and go to the directory. > The file is named "

Re: [Chicken-users] Optimal C

2009-02-22 Thread felix winkelmann
On Sun, Feb 22, 2009 at 11:44 PM, felix winkelmann wrote: >> >> 1. crunch.h wasn't created/copied it my std include. I had to >> chicken-setup -keep and go to the directory. >> The file is named "include". I'm guessing that the script expected >>

Re: [Chicken-users] Optimal C

2009-02-23 Thread felix winkelmann
On Mon, Feb 23, 2009 at 12:21 AM, John Cowan wrote: > felix winkelmann scripsit: > >> Note that crunch is highly experimental and incomplete. You requirements >> are tough, and you will not find many functional languages that don't require >> GC. Stalin and MLton

Re: [Chicken-users] Chicken-Profile exclusive time.

2009-02-23 Thread felix winkelmann
On Mon, Feb 23, 2009 at 12:16 AM, Nicholas Indy Ray wrote: > I'm having a problem while trying to profile a program that is taking > far too long, > > The program is structured so that it makes tail calls back to prior > functions > > > (define (func-a p) > (if (...) > (func-a (... p)) >

Re: [Chicken-users] calling CHICKEN_eval from different threads

2009-02-26 Thread felix winkelmann
On Thu, Feb 26, 2009 at 3:19 AM, Jan Baumgart wrote: > Hi! > > Is it possible, to make subsequent calls to CHICKEN_eval from within > different nonreentrant(!) threads? No, the chicken runtime system is not thread-safe. cheers, felix ___ Chicken-use

Re: [Chicken-users] Wiki (early) spring cleaning!

2009-03-02 Thread felix winkelmann
On Sat, Feb 28, 2009 at 8:48 PM, Peter Bex wrote: > The cleanup I'm suggesting does not necessarily have to be major, the > immediate proposal of this mail is simply to move all the eggdocs to > a new subdirectory eggref/3, to match eggref/4 and also to match the > egg structure; eggref/X/Y  will

Re: [Chicken-users] alist->hash-table bug

2009-03-02 Thread felix winkelmann
On Sun, Mar 1, 2009 at 11:01 AM, Drew Hess wrote: > On Sat, Feb 28, 2009 at 11:53 PM, Drew Hess wrote: >> Hi, >> >> I'm able to consistently reproduce a segfault using alist->hash-table >> with Chicken 3.4.0 on 3 different platforms: Debian unstable x86-64, Mac >> OS X 10.5.6 x86-64 and Mac OS 10

Re: [Chicken-users] Threads and dynamic-wind still problematic

2009-03-05 Thread felix winkelmann
On Mon, Mar 2, 2009 at 9:48 PM, Peter Bex wrote: > Hi, > > I just got bitten by this problem: > http://lists.gnu.org/archive/html/chicken-users/2008-04/msg00023.html > > I'm increasing and decreasing a mutex value based on how many threads > are doing some work.  When they stop working, the mutex

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

2009-03-06 Thread felix winkelmann
On Wed, Mar 4, 2009 at 4:32 PM, Taylor Venable 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 > usage spikes, memory usage increases boundlessly, and no output is > ever produced.  In Chic

Re: [Chicken-users] PS-tk documentation missing?

2009-03-06 Thread felix winkelmann
On Fri, Mar 6, 2009 at 6:30 AM, Matthew Welland wrote: > FYI: The link on the PS-tk egg wiki page seems dead. I did see some docs for > PS-tk on sourceforge: http://sourceforge.net/projects/pstk > > If desired I can cut 'n paste the sourceforge doc into the wiki but no > promises on keeping all th

Re: [Chicken-users] PS-tk documentation missing?

2009-03-06 Thread felix winkelmann
On Fri, Mar 6, 2009 at 7:37 AM, Matthew Welland wrote: > I noticed the "tk" egg minutes after sending my previous email. The tk egg > seems to have nice documentation and it works on my Nokia n800. However the > PS-tk egg does not: > > snip > Nokia-N800-50-2:~# csi > > CHIC

Re: [Chicken-users] setting a callback in xlib

2009-03-07 Thread felix winkelmann
On Sat, Mar 7, 2009 at 7:10 AM, Eduardo Cavazos wrote: > > Here's how I'm defining 'XSetErrorHandler' on the Chicken side: > > (define XSetErrorHandler > (foreign-safe-lambda c-pointer XSetErrorHandler >(function int (c-pointer c-pointer > > And finally, a test error handler: > > (define-

Re: [Chicken-users] setting a callback in xlib

2009-03-07 Thread felix winkelmann
On Sat, Mar 7, 2009 at 11:24 PM, Eduardo Cavazos wrote: > > In this particular case, like this: > >(XSetErrorHandler xerrorhandler) If you say (XSetErrorHandler (location xerrorhandler)) does it work, then? > > But ideally, the API should work such that you can do flexible stuff like: > >

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

2009-03-07 Thread felix winkelmann
On Fri, Mar 6, 2009 at 3:11 PM, Taylor Venable 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 > of Chicken's internals. Sorry for the noise on that. The symptoms > are that CPU usage increases

Re: [Chicken-users] Threads and dynamic-wind still problematic

2009-03-07 Thread felix winkelmann
On Mon, Mar 2, 2009 at 9:48 PM, Peter Bex wrote: > > However, it turns out that an exception thrown in a thread simply > terminates the thread instead of unwinding the stack. The same does not > happen in the primordial thread: > Ok, here is what Marc Feeley, the author of SRFI-18 has to say abo

Re: [Chicken-users] Chicken 4 syntax-rules bug

2009-03-07 Thread felix winkelmann
On Thu, Mar 5, 2009 at 7:28 PM, Jim Ursetto wrote: > I believe this is a bug in Chicken 4. It works in Chicken 3 with the > syntax-case egg, and in Scheme 48. It looks like an ellipsis form > matches after just checking the first pattern, without checking > subsequent patterns. > > (define-synta

Re: [Chicken-users] Threads and dynamic-wind still problematic

2009-03-09 Thread felix winkelmann
On Sun, Mar 8, 2009 at 12:34 PM, Peter Bex wrote: > > Yup, thanks for asking him.  It still sucks, though ;) > We are bound to the SRFI-18 spec, but you are free to invent your own API. cheers, felix ___ Chicken-users mailing list Chicken-users@nong

Re: [Chicken-users] Threads and dynamic-wind still problematic

2009-03-10 Thread felix winkelmann
On Sun, Mar 8, 2009 at 12:34 PM, Peter Bex wrote: > On Sun, Mar 08, 2009 at 12:10:39AM +0100, felix winkelmann wrote: >> >> Ok, here is what Marc Feeley, the author of SRFI-18 has to say >> about this: > > >> >> >Hope that clarifies things. >> &g

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

2009-03-10 Thread felix winkelmann
On Mon, Mar 9, 2009 at 3:43 PM, Taylor Venable wrote: > > The bug becomes more and more phantasmagorical! > > When initially compiling chicken-boot with "make PLATFORM=linux > DEBUGBUILD=yes bootstrap" the bug does not appear. > > When using -:d OR -:s500k OR -:s1m the bug does not appear. > > Whe

Re: [Chicken-users] Wiki (early) spring cleaning!

2009-03-10 Thread felix winkelmann
On Tue, Mar 10, 2009 at 9:53 AM, Peter Bex wrote: > > This has been implemented now. > > For example, you can visit http://chicken.wiki.br/eggref/3/9p to view the > Chicken 3 documentation for the 9p egg and http://chicken.wiki.br/eggref/3/9p > to view the Chicken 4 documentation for the egg. (Sh

Re: [Chicken-users] Wiki (early) spring cleaning!

2009-03-11 Thread felix winkelmann
On Tue, Mar 10, 2009 at 3:06 PM, Peter Bex wrote: > > No problem.  Can we do the same thing for the manual, soon? > I volunteer to do that as well, but would like to know if there are > gotchas like the Eggs Unlimited 3 page (which is currently broken, it > links to call/cc.org instead of directly

Re: [Chicken-users] Maintaining my eggs in a separate repository

2009-03-12 Thread felix winkelmann
On Mon, Mar 9, 2009 at 10:12 PM, Alejandro Forero Cuervo wrote: Hi, Azul! > I worked hard (with help from Mario and Felix) to try to make the > Chicken Eggs repository serve as the central development location for > most authors of Chicken extensions.  Ironically, it doesn't really > serve this

Re: [Chicken-users] cons-wm

2009-03-14 Thread felix winkelmann
On Fri, Mar 13, 2009 at 11:23 PM, Eduardo Cavazos wrote: > Hello, > > cons-wm is a window manager for the X Window System. Features: > > * Written in Scheme > * Runs in Ypsilon, Larceny, and Chicken > * Minimalist > * Internals based on dwm 5.4.1 > > cons-wm aims to be a simple window manager whic

Re: [Chicken-users] define-macro in Chicken 4.0

2009-03-14 Thread felix winkelmann
On Fri, Mar 13, 2009 at 8:48 PM, Eduardo Cavazos wrote: > Hello, > > Is there a way to define 'define-macro' in terms of the new explicit > renaming macros of Chicken 4.0? Or is it offered somewhere and I just missed > it? > > I know I know... 'define-macro' is bad. :-) But I have a bunch of code

Re: [Chicken-users] Xlib egg gone missing

2009-03-15 Thread felix winkelmann
On Sun, Mar 15, 2009 at 12:21 PM, William Ramsay wrote: > To whom it may concern, > > What happened to the xlib egg?    And especially the docs that go with it? > I'm in the middle of a huge project that uses it!!! > What's the problem? It seems to be there. cheers, felix

Re: [Chicken-users] cons-wm

2009-03-15 Thread felix winkelmann
On Sat, Mar 14, 2009 at 10:30 AM, Alaric Snell-Pym wrote: >> >> Cool! (Unfortunately, I'm a Windows user now...) >> > > I have a similar problem, involving Macs! > > However, when I had a NetBSD workstation, I liked the ion window > manager - but I always wanted to do my own, that would better com

Re: [Chicken-users] define-macro in Chicken 4.0

2009-03-15 Thread felix winkelmann
On Sat, Mar 14, 2009 at 10:27 AM, Eduardo Cavazos wrote: > > Well, I have some "portable" Scheme code; i.e. code that runs on a few > implementations. In that code are some macros which intentionally break > hygiene. So that rules out syntax-rules. Just about everybody supports > define-macro so i

Re: [Chicken-users] define-macro in Chicken 4.0

2009-03-15 Thread felix winkelmann
On Sun, Mar 15, 2009 at 11:22 AM, Tobia Conforto wrote: > I wrote: >> >> (import-for-syntax matchable) >> >> (define-syntax define-macro >>  (lambda (m . _) >>    `(define-syntax ,(caadr m) >>       (lambda (e . _) >>         (match e >>           (,(cadr m) ,@(cddr m))) > > Eduardo, does this

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

2009-03-15 Thread felix winkelmann
On Wed, Mar 11, 2009 at 7:25 PM, Taylor Venable 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.  The three entries here were taken from allowing the > program to run for varying perio

Re: [Chicken-users] define-macro in Chicken 4.0

2009-03-15 Thread felix winkelmann
On Sun, Mar 15, 2009 at 12:31 PM, Tobia Conforto wrote: > felix winkelmann wrote: >> >> Sorry, but this does not work. An identifier introduced by a previous >> (hygienic) macro expansion will not be correctly expanded. > > Does this mean that you can't mix define-

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

2009-03-16 Thread felix winkelmann
On Mon, Mar 16, 2009 at 2:32 PM, Taylor Venable wrote: > > Usually when it hangs, I end up sending it ^C when it's inside mark(). > So if I step out to C_reclaim() I can step through from line 2802 (or > sometimes 2805; in runtime.c) to line 3016. This I do in GDB using > the "next" command. Whe

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

2009-03-18 Thread felix winkelmann
Hi! I think you're right: these are two cases: the 10k stack is already too small on a 64-bit machine and will continuously GC. The other case is the one we're looking for. It may be that the irregex integration has a bug. Could you try to build chicken 4? (possibly twice, building the compiler

[Chicken-users] no soname

2009-03-18 Thread felix winkelmann
Hi! I just removed the use of "soname" from the build in trunk. It broke explicit dynamic loading of core libraries. I just mention this in case you have installed chicken 4 in the same prefix as a still used chicken 3, because installing chicken 4 will now overwrite the old libraries. cheers, f

Re: [Chicken-users] no soname

2009-03-19 Thread felix winkelmann
On Wed, Mar 18, 2009 at 9:27 PM, Ivan Raikov wrote: > > Hi Felix, > >   This means that we cannot have a Debian package for Chicken 4, > because Debian insists on having a soname version, so that it can do > things like installing libchicken 3 and 4 alongside each other. How > does soname break ex

Re: [Chicken-users] no soname

2009-03-20 Thread felix winkelmann
On Thu, Mar 19, 2009 at 10:16 AM, Tobia Conforto wrote: > > A developer who wants to build against chicken 3 or 4 will install the right > -dev package, which forces removal of the other versions.  But this is a > developer-only process and a developer is supposed to either be working with > versi

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

2009-03-20 Thread felix winkelmann
On Wed, Mar 18, 2009 at 6:55 PM, Taylor Venable wrote: > 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

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

2009-03-23 Thread felix winkelmann
On Mon, Mar 23, 2009 at 6:20 PM, Taylor Venable wrote: > 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 i

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

2009-03-24 Thread felix winkelmann
On Tue, Mar 24, 2009 at 7:46 AM, Kon Lovett wrote: > > The chicken compiler uses Unit files. > Yes, exactly. >> >> I'm also puzzled as to how this can be behaving differently >> between Chicken 3 and 4 when the irregex.scm file is >> identical. > It might be some glue code in regex.scm. It migh

[Chicken-users] mac os x and cflags

2009-03-25 Thread felix winkelmann
Hi! Alex reported that architecture-specific compiler options don't seem to be passed by csc on Mac OS X. I massages Makefile.macosx a bit, but can not test it right now (and could only try the default ppc build, anyway). So if a Mac OS user would try it out, I'd appreciate it (the order in which

[Chicken-users] testing release candidate for 4.0.0

2009-03-25 Thread felix winkelmann
Hi! The current release candidate can be found at: http://www.call-with-current-continuation.org/chicken-4.0.0.tar.gz 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 unclea

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

2009-03-26 Thread felix winkelmann
On Wed, Mar 25, 2009 at 9:08 PM, Aleksej Saushev wrote: > > Error: (import) during expansion of (import ...) - cannot import from > undefined module: scheme > Is the build installed in /usr/pkg/lib, or is this before the install? cheers, felix ___

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

2009-03-26 Thread felix winkelmann
2009/3/25 Ivan Shcheklein : > Hi Felix, > > MSVC+Cygwin's tools. Build failed since both chichen-defaults and > chicken-config contain something like this: I don't understand: MSVC + cygwin? cheers, felix ___ Chicken-users mailing list Chicken-users@

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

2009-03-26 Thread felix winkelmann
On Wed, Mar 25, 2009 at 10:11 PM, Elf wrote: > > no.  what happened is that the quoting rules are screwed up.  i forgot to > backport the makefile from 3.  ill do it in a few. > Please don't touch it, unless we have figured out what exactly goes wrong. cheers, felix __

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

2009-03-26 Thread felix winkelmann
On Thu, Mar 26, 2009 at 4:24 AM, Taylor Venable wrote: > > I get the following when running "make fullcheck" -- > scripts/makedist.scm is not in the tarball. I should add it... Thanks. cheers, felix ___ Chicken-users mailing list Chicken-users@nong

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

2009-03-26 Thread felix winkelmann
2009/3/26 Peter Bex : > On Thu, Mar 26, 2009 at 10:19:08AM +0100, felix winkelmann wrote: >> On Wed, Mar 25, 2009 at 9:08 PM, Aleksej Saushev wrote: >> > >> > Error: (import) during expansion of (import ...) - cannot import from >> > undefined module: scheme

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

2009-03-26 Thread felix winkelmann
On Thu, Mar 26, 2009 at 1:59 PM, Leonardo Valeri Manera wrote: > > You learn something every day I guess, I never suspected MSYS-make > would break when used outside of MSYS, though considering the PATH > mangling MSYS does its not surprising at all. MSYS does many evil things. MSYS make also sea

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

2009-03-26 Thread felix winkelmann
On Thu, Mar 26, 2009 at 3:09 PM, John Cowan wrote: > felix winkelmann scripsit: > >> - mingw-msys: you have mingw + msys >> - mingw: you *DON'T* have msys, just cmd.exe and bare bones mingw > > I have never understood why we have both these builds, when it seems th

Re: [Chicken-users] Chicken 3.4 Ubuntu packages

2009-03-26 Thread felix winkelmann
On Thu, Mar 26, 2009 at 8:11 AM, underspecified wrote: > > I noticed that the Chicken packages in Ubuntu are horribly out of date, > so I have built the Chicken 3.4 debs hosted on chicken.wiki.br and am > hosting them on my repository Ubuntu-NLP > [http://cl.naist.jp/~eric-n/ubuntu-nlp/]. Thanks,

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

2009-03-27 Thread felix winkelmann
2009/3/27 Leonardo Valeri Manera : > Ok, admittedly its been ages since I've used MSVC on the commandline, but: > > make PLATFORM=msvc PREFIX= ===> > > (eventually) > > link -nologo -dll -implib:libchicken.lib \ >          -out:libchicken.dll library.obj eval.obj data-structures.obj > ports.obj fil

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

2009-03-28 Thread felix winkelmann
On Sat, Mar 28, 2009 at 9:25 PM, Shawn Rutledge wrote: > On Sat, Mar 28, 2009 at 2:02 AM, Jim Ursetto wrote: >> chicken-setup doesn't exist in Chicken 4 (it's called chicken-install >> now), and tinyclos isn't packaged for Chicken 4 anyway. > > Oh that would be why then. What's it going to take

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

2009-03-28 Thread felix winkelmann
On Fri, Mar 27, 2009 at 4:28 PM, Leonardo Valeri Manera wrote: > I'm aware of that. The rest of the calls to the compiler are properly > calling cl. > > Also, the MSVC makefile uses cat while the mingw and msys ones dont ... > Yes, it also uses touch(1) somewhere. I'm going to test and fix the m

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

2009-03-28 Thread felix winkelmann
Hello! I wanted to thank everybody who helped in testing this release. It is always amazing and rewarding to get so much feedback and support. cheers, felix ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/list

<    5   6   7   8   9   10   11   12   13   14   >