[Chicken-users] Chicken 4 development snapshots
Dear all, The Chicken development snapshot script has been adapted to Chicken 4. From now on, Chicken 4 snapshots will be built and linked to on the development snapshots page: http://chicken.wiki.br/dev-snapshots/ New snapshots will be built when the Chicken version is increased in the repository. In the next few days, I will be updating the salmonella script for Chicken 4, so some breakage is possible in the salmonella-report page. -Ivan ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] Re: Trouble with easyffi
On Thu, Jun 25, 2009 at 03:44:51PM -0400, bill wrote: > Hi again, > > I removed easyffi and started over. These are the warning I get when I > compile: I'm not sure, did I miss something? Where is the code you're trying to compile? Cheers, Peter -- http://sjamaan.ath.cx -- "The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music." -- Donald Knuth pgpsmaDVOlwOi.pgp Description: PGP signature ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] Re: Trouble with easyffi
Hi again, I removed easyffi and started over. These are the warning I get when I compile: Warning: redefinition of imported value binding: lexer-init-buffer-len Warning: redefinition of imported value binding: lexer-integer-newline Warning: redefinition of imported value binding: lexer-raw-IS-maker Warning: redefinition of imported value binding: lexer-make-IS Warning: redefinition of imported value binding: lexer-get-func-getc Warning: redefinition of imported value binding: lexer-get-func-ungetc Warning: redefinition of imported value binding: lexer-get-func-line Warning: redefinition of imported value binding: lexer-get-func-column Warning: redefinition of imported value binding: lexer-get-func-offset Warning: redefinition of imported value binding: lexer-make-tree-lexer Warning: redefinition of imported value binding: lexer-make-char-lexer Warning: redefinition of imported value binding: lexer-make-code-lexer Warning: redefinition of imported value binding: lexer-make-lexer Warning: redefinition of imported value binding: lexer Warning: local assignment to unused variable `easyffi-base#lexer-getc' may be unintended Warning: global variable `easyffi-base#lexer-getc' is never used Warning: local assignment to unused variable `easyffi-base#lexer-ungetc' may be unintended Warning: global variable `easyffi-base#lexer-ungetc' is never used /usr/bin/csc -feature compiling-extension -host -s -O2 -d0 easyffi-base.import.scm /usr/bin/csc -feature compiling-extension -host -s -O2 -d0 easyffi.scm -j easyffi Warning: redefinition of imported syntax binding: foreign-declare /usr/bin/csc -feature compiling-extension -host -s -O2 -d0 easyffi.import.scm /usr/bin/csc -feature compiling-extension -host -O2 -d0 chicken-wrap.scm Warning: extension `easyffi-base' is currently not installed Warning: local assignment to unused variable `##compiler#debugging-chicken' may be unintended The compile does run to the end without errors. And when I run chicken-status I get: chicken-wrap . version: 1.95 easyffi .. version: 1.95 easyffi-base . version: 1.95 matchable ... version: 2.4.2 silex . version: 1.2 xlib .. version: 1.2 I really need this back - so any ideas you can give me will be greatly appreciated. Bill ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] rectnum? misdefined in numbers egg?
Normally, a rectnum is understood to be a representation of a non-real number as two boxes containing arbitrary real numbers, whereas a compnum uses two unboxed flonums. However, the numbers egg defines rectnum? as returning #t if its argument is an exact non-real number. Consequently, numbers like 1.0+1i are neither rectnums nor compnums. I think rectnum? should be changed to recognize them as rectnums. Here are portable implementations of bignum?, flonum?, ratnum?, compnum?, and rectnum?, given only R5RS and fixnum?: (define (bignum? x) (and (integer? x) (not (fixnum? x (define (flonum? x) (and (real? x) (inexact? x))) (define (ratnum? x) (and (exact? x) (not (integer? x (define (compnum? x) (and (not (real? x)) (let ((re (real-part x)) (im (imag-part x))) (and (inexact? re) (inexact? im) (define (rectnum? x) (and (not (real? x)) (not (compnum? x -- The Unicode Standard does not encodeJohn Cowan idiosyncratic, personal, novel, or private http://www.ccil.org/~cowan use characters, nor does it encode logos or graphics.co...@ccil.org ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] Trouble with easyffi
On Thu, Jun 25, 2009 at 07:42:19AM -0400, bill wrote: > Hi, > > I recently moved my linux system from Gentoo to Xubunto. In doing so I > am now having trouble getting some of my old Chicken programs working. > > When I compile GTK code into one of my programs with easyffi everything > seems to work fine. I get no compile errors. But when I try to > execute the program I get the following error: > > Error: unbound variable: foreign-parse > >Call history: > >foreign-parse<-- > > This evidently comes from easyffi since there is no foreign-parse call > in any of my scheme code. Any ideas on what could be wrong. Did you import the proper module? Does chicken give a warning while compiling? > Also, > how do you get a list of installed eggs under the new system (i.e. the > old chicken-setup -list call)? I am running 4.0. chicken-status will do that. Cheers, Peter -- http://sjamaan.ath.cx -- "The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music." -- Donald Knuth pgpGTfxUxNdXm.pgp Description: PGP signature ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] Trouble with easyffi
Hi, I recently moved my linux system from Gentoo to Xubunto. In doing so I am now having trouble getting some of my old Chicken programs working. When I compile GTK code into one of my programs with easyffi everything seems to work fine. I get no compile errors. But when I try to execute the program I get the following error: Error: unbound variable: foreign-parse Call history: foreign-parse<-- This evidently comes from easyffi since there is no foreign-parse call in any of my scheme code. Any ideas on what could be wrong.Also, how do you get a list of installed eggs under the new system (i.e. the old chicken-setup -list call)? I am running 4.0. Bill ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] Re: Weird capture problem
Abdulaziz Ghuloum gmail.com> writes: > > Is this expected behavior or a bug? > > Aziz,,, > > CHICKEN > (c)2008-2009 The Chicken Team > (c)2000-2007 Felix L. Winkelmann > Version 4.0.0 - SVN rev. 13887 > macosx-unix-gnu-x86 [ manyargs dload ptables applyhook ] > compiled 2009-06-23 on Vesuvius (Darwin) > > #;1> (let ((begin (lambda (x y) (printf "x=~s y=~s\n" x y 1 2) > x=1 y=2 > #;2> > Hi! Should work now (trunk, rev. 15057). cheers, felix ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users