Re: [Chicken-users] windows shell problem

2009-01-05 Thread felix winkelmann
On Mon, Jan 5, 2009 at 9:14 AM, felix winkelmann bunny...@gmail.com 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=mingw PREFIX=c:/home

Re: [Chicken-users] windows shell problem

2009-01-05 Thread felix winkelmann
On Mon, Jan 5, 2009 at 2:14 PM, Lars Nilsson chamael...@gmail.com wrote: On Mon, Jan 5, 2009 at 3:14 AM, felix winkelmann bunny...@gmail.com 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

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 jacktradespub...@gmail.com 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

Re: [Chicken-users] Xlib text question

2009-01-04 Thread felix winkelmann
On Thu, Jan 1, 2009 at 3:43 PM, William Ramsay ramsa...@comcast.net wrote: Also the doc for the xlib egg has an error. Freeing a structure is given as: (free-NAME) - C-POINTER I think it should be:(free-NAME 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 ...args ... (Note the quotes around the pathname) This works fine in cmd.exe, but fails when using the

[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 important

[Chicken-users] Re: irregex merged

2008-12-31 Thread felix winkelmann
On Wed, Dec 31, 2008 at 12:18 PM, felix winkelmann bunny...@gmail.com 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. I noticed that regex

[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] syntax-rules segment matching?

2008-12-30 Thread felix winkelmann
On Mon, Dec 29, 2008 at 11:54 PM, Jack Trades jacktradespub...@gmail.com 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

Re: [Chicken-users] Chicken for Python Programmers

2008-12-30 Thread felix winkelmann
On Tue, Dec 30, 2008 at 1:21 AM, Jack Trades jacktradespub...@gmail.com 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

Re: [Chicken-users] Egg Installation Problem

2008-12-29 Thread felix winkelmann
On Wed, Dec 24, 2008 at 4:20 PM, William Ramsay ramsa...@comcast.net wrote: Well, that at least tells me what's wrong. It turns out that I have two versions of chicken running - 2.6 and 3.4. The newer version is running in /usr/local/bin and the older in /usr/bin. Installing an egg finds

Re: [Chicken-users] Egg Installation Problem

2008-12-29 Thread felix winkelmann
On Mon, Dec 29, 2008 at 4:14 PM, felix winkelmann bunny...@gmail.com 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 peter@xs4all.nl 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

[Chicken-users] happy christmas!

2008-12-23 Thread felix winkelmann
Hello! I wish everybody a very happy and peaceful christmas and a great year 2009. cheers, felix ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users

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

2008-12-22 Thread felix winkelmann
On Sat, Dec 20, 2008 at 4:04 PM, Alejandro Forero Cuervo a...@freaks-unidos.net wrote: Please try attached patch. I have added it to trunk and the chicken-3 branch, and did some tests, but testing finalization is always somewhat difficult. I tried the patch (on 3.4.0) and it did not work.

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

2008-12-22 Thread felix winkelmann
Please try this one. cheers felix Index: runtime.c === --- runtime.c (revision 12851) +++ runtime.c (working copy) @@ -2706,6 +2706,10 @@ for(gcrp = gc_root_list; gcrp != NULL; gcrp = gcrp-next) mark(gcrp-value); +

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

2008-12-21 Thread felix winkelmann
On Sat, Dec 20, 2008 at 4:04 PM, Alejandro Forero Cuervo a...@freaks-unidos.net wrote: Please try attached patch. I have added it to trunk and the chicken-3 branch, and did some tests, but testing finalization is always somewhat difficult. I tried the patch (on 3.4.0) and it did not work.

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

2008-12-21 Thread felix winkelmann
On Mon, Dec 15, 2008 at 9:06 AM, felix winkelmann bunny...@gmail.com wrote: On Fri, Dec 12, 2008 at 6:13 PM, Wietse Jacobs wiets...@gmail.com wrote: Hello, This time I've tried with Mingw-MSYS and I get a lot further, but again I'm stuck. I did: Sorry, I can't check this right now. I'll

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

2008-12-18 Thread felix winkelmann
On Thu, Dec 18, 2008 at 2:52 PM, Alejandro Forero Cuervo a...@freaks-unidos.net wrote: To retain a safe reference to a Scheme-level object from C can only be done via GC-roots, otherwise the reference will be lost on the next GC. What happens if your Scheme-level object is only referenced

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

2008-12-17 Thread felix winkelmann
On Tue, Dec 16, 2008 at 7:36 PM, felix winkelmann bunny...@gmail.com wrote: On Mon, Dec 15, 2008 at 11:57 PM, Alejandro Forero Cuervo a...@freaks-unidos.net wrote: I have a question about finalizers. If you run the following in csi: (define x (list 1 2 3)) (begin (set-finalizer! x

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

2008-12-17 Thread felix winkelmann
On Mon, Dec 15, 2008 at 10:34 PM, Alejandro Forero Cuervo a...@freaks-unidos.net wrote: One idea I had was to do the following (plus tweaks to call_the_proc to de-ref the GC root): (define create-closure (let ((obj ((foreign-lambda* c-closure ((scheme-object proc)) #EOF void

Re: [Chicken-users] SRFI-42 and Importing in Chicken 4

2008-12-16 Thread felix winkelmann
On Tue, Dec 16, 2008 at 9:06 AM, Peter Bex peter@xs4all.nl wrote: On Mon, Dec 15, 2008 at 07:16:11PM -0600, Jack Trades wrote: I think I've got it. So this is the correct way of importing? (require-library srfi-1) (module test (t d) (import scheme) (import (prefix srfi-1 lists.))

Re: [Chicken-users] SRFI-42 and Importing in Chicken 4

2008-12-16 Thread felix winkelmann
On Tue, Dec 16, 2008 at 10:40 AM, Peter Bex peter@xs4all.nl wrote: On Tue, Dec 16, 2008 at 09:45:31AM +0100, felix winkelmann wrote: I'm not sure if chicken-setup is still the preferred way to install eggs. I think Felix wrote a new tool, but I haven't tried it out yet because chicken

Re: [Chicken-users] newbie: using hart- unbound variable: hart-parse

2008-12-16 Thread felix winkelmann
On Tue, Dec 16, 2008 at 3:49 PM, Graham Fawcett graham.fawc...@gmail.com wrote: Hi folks, Thanks, Felix, for answering this one. Is there a directive we could add to hart itself, to automate the require-for-syntax? Just add it to hart.scm. cheers, felix

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

2008-12-16 Thread felix winkelmann
On Mon, Dec 15, 2008 at 11:57 PM, Alejandro Forero Cuervo a...@freaks-unidos.net wrote: I have a question about finalizers. If you run the following in csi: (define x (list 1 2 3)) (begin (set-finalizer! x (lambda (o) (format #t Delete: ~A~% o))) #t) (define y (list 4 5 6)) (begin

Re: [Chicken-users] SRFI-42 and Importing in Chicken 4

2008-12-16 Thread felix winkelmann
On Tue, Dec 16, 2008 at 10:55 AM, Jack Trades jacktradespub...@gmail.com wrote: Looking at the svn repos it seems that srfi-42 isn't ported to 4 yet. Feel free to help out porting it :) I would definitely be interested in helping to port it, but I wouldn't know where to start. I'm still

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

2008-12-15 Thread felix winkelmann
On Fri, Dec 12, 2008 at 6:13 PM, Wietse Jacobs wiets...@gmail.com wrote: Hello, This time I've tried with Mingw-MSYS and I get a lot further, but again I'm stuck. I did: Sorry, I can't check this right now. I'll try to address the windows builds as soon as possible (a general cleanup has to

Re: [Chicken-users] newbie srfi-38 (shared structure) records question

2008-12-15 Thread felix winkelmann
On Thu, Dec 11, 2008 at 9:42 AM, Basile STARYNKEVITCH bas...@starynkevitch.net wrote: Hello All (My third batch of questions) I want to use srfi-38, that is read-with-shared-structure write-with-shared-structure to persistently store reload (at next program invocation) a complex state

Re: [Chicken-users] s11n and tinyclos

2008-12-15 Thread felix winkelmann
On Sat, Dec 13, 2008 at 4:42 AM, Joshua Griffith josh.griff...@gmail.com wrote: Hey Felix, Have you had a chance to take a look at the s11n corrupted input issue? #;1 (use s11n) ; loading /usr/local/lib/chicken/3/s11n.so ... #;2 (deserialize (open-input-string \f)) Bus error Please try

[Chicken-users] Re: Chicken update question

2008-12-15 Thread felix winkelmann
On Mon, Dec 15, 2008 at 2:32 PM, William Ramsay ramsa...@comcast.net wrote: As I said in an earlier email, chicken and easyffi are working fine now with a link from /usr/local/lib/chicken/3... to /usr/local/lib64/chicken/3 But when I run chicken-setup -list I still get nothing.

[Chicken-users] Re: Chicken update question

2008-12-14 Thread felix winkelmann
On Fri, Dec 12, 2008 at 4:17 PM, William Ramsay ramsa...@comcast.net wrote: Well, I thought everything was okay, but when I run chicken-setup -list I get nothing. I assume I'm supposed to get a list of installed eggs - in this case easyffi and silex. Yet, when I run the compiler it seems to

Re: [Chicken-users] newbie: using hart- unbound variable: hart-parse

2008-12-14 Thread felix winkelmann
On Sat, Dec 13, 2008 at 12:05 PM, Basile STARYNKEVITCH bas...@starynkevitch.net wrote: % csc hartex.scm -o hartex Error: during expansion of (hart ...) - unbound variable: hart-parse Call history: syntax(begin (hart (html (head (title People)) (body (h1 (fmt: A list of ~a

Re: [Chicken-users] s11n and tinyclos

2008-12-14 Thread felix winkelmann
On Sat, Dec 13, 2008 at 4:42 AM, Joshua Griffith josh.griff...@gmail.com wrote: Hey Felix, Have you had a chance to take a look at the s11n corrupted input issue? #;1 (use s11n) ; loading /usr/local/lib/chicken/3/s11n.so ... #;2 (deserialize (open-input-string \f)) Bus error Sorry, not

[Chicken-users] Re: Chicken update question

2008-12-12 Thread felix winkelmann
On Fri, Dec 12, 2008 at 12:20 AM, William Ramsay ramsa...@comcast.net wrote: Felix, I figured out what was wrong with trying to add the easyffi egg. I'm on a 64bit machine (sorry I forget to mention that) and when I compiled the egg the compiler put it in /usr/local/lib64/chicken/3.I

Re: [Chicken-users] newbie thread questions?

2008-12-11 Thread felix winkelmann
On Thu, Dec 11, 2008 at 9:26 AM, Basile STARYNKEVITCH [EMAIL PROTECTED] wrote: (my second mail of questions; I'm very newbie!) We all are! Apparently the Chicken thread package is continuation based and does not use pthread hence is not able to take of profit of several cores running

Re: [Chicken-users] Chicken update question

2008-12-11 Thread felix winkelmann
On Thu, Dec 11, 2008 at 4:05 PM, William Ramsay [EMAIL PROTECTED] wrote: Hi, I am trying to upgrade to Chicken 3.4 from 2.6 (I've been doing other stuff for a while) and I'm having trouble with easyffi. I used chicken-setup to download and install it and there is an easyffi.so file in

Re: [Chicken-users] svn head - buid problem on debian

2008-12-09 Thread felix winkelmann
On Tue, Dec 9, 2008 at 12:54 PM, Jörg F. Wittenberger [EMAIL PROTECTED] wrote: Hi all, my standard debian build method fails like this: /home/jfw/build/Scheme/chicken/debian/tmp/usr/bin/chicken-install -update-db generating database cp -r /tmp/setup-15c.tmp/modules.db

Re: [Chicken-users] libchicken-static.lib (MSVC) is not static, and one more question

2008-12-08 Thread felix winkelmann
On Sun, Dec 7, 2008 at 10:37 PM, Ivan Shcheklein [EMAIL PROTECTED] wrote: I've looked at the patch. It seems to me now that while static library compiled with /MT option is ok for me it can be unconvenient for someone who uses /MD to compile application. I can suggest two ways: 1. Provide

Re: [Chicken-users] Compiling w/ syntax-case

2008-12-08 Thread felix winkelmann
On Mon, Dec 8, 2008 at 4:52 AM, Matt Gushee [EMAIL PROTECTED] wrote: But anyway, I have previously worked through various tutorials and developed a few simple programs w/ Chicken, and I'm now attempting to create an extension library for the first time. Not my original work, though--this is

Re: [Chicken-users] libchicken-static.lib (MSVC) is not static, and one more question

2008-12-07 Thread felix winkelmann
On Sat, Dec 6, 2008 at 2:36 AM, Ivan Shcheklein [EMAIL PROTECTED] wrote: Hi, -- It seems that libchicken-static.lib is compiled with /MD[d] compiler option. Consequently it requires MSVCR**.DLL. I suppose, /MT[d] option should be used for -static version of the library. Thanks, Ivan! I have

Re: [Chicken-users] replacing the write function

2008-12-05 Thread felix winkelmann
On Fri, Dec 5, 2008 at 5:31 AM, Shawn Rutledge [EMAIL PROTECTED] wrote: Anyway, I need to detect that we are about to send a tinyclos object, and instead send the s-expression which when eval'd, will create the proxy for it instead. I wish I didn't have to re-invent the write function to do

Re: [Chicken-users] s11n and tinyclos

2008-12-05 Thread felix winkelmann
On Thu, Dec 4, 2008 at 8:09 AM, Shawn Rutledge [EMAIL PROTECTED] wrote: On 10/29/08, felix winkelmann [EMAIL PROTECTED] wrote: This means that no entry is stored in the local procedure table. What's the output of chicken -version? Does it show ptables? Sorry I didn't get back to you sooner

Re: [Chicken-users] moving -I blah into source

2008-12-02 Thread felix winkelmann
On Mon, Dec 1, 2008 at 7:18 PM, Kon Lovett [EMAIL PROTECTED] wrote: It uses a Chicken internal variable, but I don't think there's an easier/safer way. Try to use absolute pathnames, I had trouble with relative ones. See also the '(link-options STRING ...)' declaration. That would be for

Re: [Chicken-users] z3: gzip compatibility

2008-12-02 Thread felix winkelmann
On Tue, Dec 2, 2008 at 11:01 AM, Daishi Kato [EMAIL PROTECTED] wrote: Can I do it without using the file? maybe using string or port. In other words, how can I encode/decode the header. The documentation does not seem to help me on it. Check out z3:decode-buffer. cheers, felix

Re: [Chicken-users] z3: gzip compatibility

2008-12-02 Thread felix winkelmann
On Tue, Dec 2, 2008 at 9:49 AM, Daishi Kato [EMAIL PROTECTED] wrote: #;1 (use z3) ; loading /usr/local/chicken-3.2.0/lib/chicken/3/z3.so ... #;2 (z3:decode-buffer (read-file foo.gz)) Error: (string-length) bad argument type: (|?4IKe2~|) Call history: syntax

Re: [Chicken-users] moving -I blah into source

2008-12-02 Thread felix winkelmann
On Mon, Dec 1, 2008 at 5:22 PM, Tobia Conforto [EMAIL PROTECTED] wrote: TongKe Xue wrote: Instead of: csi -I some_dir -s blah.scm can I put something in the top of blah.scm so I only have to type: csi -s blah.scm This should work: (set! ##sys#include-pathnames (cons /home/tobia/include

Re: [Chicken-users] string-translate and utf-8

2008-11-28 Thread felix winkelmann
On Thu, Nov 27, 2008 at 8:55 PM, Kon Lovett [EMAIL PROTECTED] wrote: Hi, The problem below is fixed with 2.0.5 of the utf8 egg. The source of the problem was the rewriting of some string operations by the compiler which were rebound in the same compilation-unit. This can be a feature or a

Re: [Chicken-users] chmod a+rw indeed

2008-11-25 Thread felix winkelmann
Do'h cheers, felix On Mon, Nov 24, 2008 at 8:08 PM, Elf [EMAIL PROTECTED] wrote: um, changing to 644 is almost certainly incorrect for executables. methinks you want 0755. -elf On Mon, 24 Nov 2008, felix winkelmann wrote: On Sat, Nov 22, 2008 at 1:36 PM, Drake Wilson [EMAIL PROTECTED

Re: [Chicken-users] chmod a+rw indeed

2008-11-24 Thread felix winkelmann
On Mon, Nov 24, 2008 at 1:04 PM, felix winkelmann [EMAIL PROTECTED] wrote: On Sat, Nov 22, 2008 at 1:36 PM, Drake Wilson [EMAIL PROTECTED] wrote: Sorry for the short pre-message research time, but this seems bogus enough to warrant it. I just built Chicken 3.4.0 from source in /usr/local/src

Re: [Chicken-users] separate compilation

2008-11-24 Thread felix winkelmann
On Sun, Nov 23, 2008 at 2:45 AM, Jörg F. Wittenberger [EMAIL PROTECTED] wrote: It would be easy enough to compile the export file into memory or a temp file and overwrite the old file only if there are differences. This would give us both: one file, which only changes, when the actual

Re: [Chicken-users] chmod a+rw indeed

2008-11-24 Thread felix winkelmann
On Sat, Nov 22, 2008 at 1:36 PM, Drake Wilson [EMAIL PROTECTED] wrote: Sorry for the short pre-message research time, but this seems bogus enough to warrant it. I just built Chicken 3.4.0 from source in /usr/local/src/chicken-3.4.0 on Debian GNU/Linux x86_64 (sid), and at the end of the [make

Re: [Chicken-users] chicken-syntax.scm

2008-11-20 Thread felix winkelmann
On Thu, Nov 20, 2008 at 4:51 PM, Jörg F. Wittenberger [EMAIL PROTECTED] wrote: The old, previously working, version did (include chicken-more-macros.scm) together with a (declare (run-time-macros)) with the intent to make those macros available to eval at runtime. Now I found the file

Re: [Chicken-users] Compiling under MSVC

2008-11-17 Thread felix winkelmann
On Fri, Nov 14, 2008 at 11:03 AM, Brown Dragon [EMAIL PROTECTED] wrote: Hello, I am trying to compile chicken-3.4.0 under MSVC (2003) but am running into problems. Hi! I think this patch might fix the problem: Index: c-backend.scm

Re: [Chicken-users] compiling with svn revision 12496

2008-11-17 Thread felix winkelmann
On Sat, Nov 15, 2008 at 3:05 PM, Jörg F. Wittenberger [EMAIL PROTECTED] wrote: There's code, which maps symbol-append+string-append over input forms to ease typing. (The openssl.scm - not even my code.) I have no idea how to fix that with hygienic macros. And nothing of the trick is

Re: [Chicken-users] using the compiler at runtime

2008-11-14 Thread felix winkelmann
On Thu, Nov 13, 2008 at 5:10 PM, Tobia Conforto [EMAIL PROTECTED] wrote: felix winkelmann wrote: (on-exit (lambda () (system (sprintf rm -f '~a' tmp (load tmp) Out of curiosity, is there a particular reason why you put the rm into an exit handler, instead of removing the file

Re: [Chicken-users] Readline

2008-11-13 Thread felix winkelmann
On Thu, Nov 13, 2008 at 5:52 AM, Mark Fredrickson [EMAIL PROTECTED] wrote: Hello, Does the readline egg have an active maintainer? I'm trying to add file globbing to the completions, and I have a very basic patch. I'm thinking of creating a little completion callback API and I'd like to

Re: [Chicken-users] using the compiler at runtime

2008-11-12 Thread felix winkelmann
On Wed, Nov 12, 2008 at 3:15 PM, Felix Lange [EMAIL PROTECTED] wrote: i considered using (system ...), too, but it depends on having access to csc and a way of finding the executable. making an interface to the compiler available as a library-unit eliminates these needs, though a C compiler

Re: [Chicken-users] Changes to Svnwiki's extensions system coming

2008-11-10 Thread felix winkelmann
On Mon, Nov 10, 2008 at 9:41 PM, Alejandro Forero Cuervo However, I would like to include the body of the svnwiki-extensions-init function directly in the svnwiki-extensions egg, so that it suffices for the caller to (use svnwiki-extensions). However, this will result in a loop: 1.

[Chicken-users] need regex benchmark

2008-11-09 Thread felix winkelmann
Hi! The integration of Alex' irregex regular expression package is basically done, but I'd like to make some performance comparisons, before this is tested further and merged into trunk. Does someone know of a good regex benchmark, or come up with some code that can be run isolated and stresses

Re: [Chicken-users] Don't modify other people's eggs

2008-11-09 Thread felix winkelmann
On Sun, Nov 9, 2008 at 5:26 PM, Alejandro Forero Cuervo [EMAIL PROTECTED] wrote: I'm a bit annoyed to see that some eggs that I've created have been modified directly by other people (sometimes in ways that I'm not sure I would approve of) and new releases have been created by them (often

Re: [Chicken-users] Changes to Svnwiki's extensions system coming

2008-11-09 Thread felix winkelmann
On Mon, Nov 10, 2008 at 1:17 AM, Alejandro Forero Cuervo [EMAIL PROTECTED] wrote: I've been improving the extensions' system that Svnwiki uses, which has been a source of confusion in the past. Svnwiki extensions previously lived in stream-wiki/trunk/extensions and were loaded (with the load

Re: [Chicken-users] Changes to Svnwiki's extensions system coming

2008-11-09 Thread felix winkelmann
On Mon, Nov 10, 2008 at 8:26 AM, Ivan Raikov [EMAIL PROTECTED] wrote: Yes, the code has (require-extension syntax-case srfi-40 ...). It has not changed in quite some time, so unless there have been changes to srfi-40 in the past two or three months I am not sure why this is failing. The

Re: [Chicken-users] Changes to Svnwiki's extensions system coming

2008-11-09 Thread felix winkelmann
On Mon, Nov 10, 2008 at 7:56 AM, Ivan Raikov [EMAIL PROTECTED] wrote: By the way, I did a fresh installation of svnwiki today, and it appears that any extensions using SRFI-40 streams no longer work. For example, the svnwiki-post-commit script bombs with the error below when trying the

Re: [Chicken-users] Problem making macros available to code loaded with (load)

2008-11-09 Thread felix winkelmann
On Sat, Nov 8, 2008 at 5:22 PM, Alejandro Forero Cuervo [EMAIL PROTECTED] wrote: I have two files: a.scm: (use srfi-40) (stream-delay stream-null) b.scm: (use srfi-40) (load a.scm) However, if I compile b.scm and run the resulting executable, I get an error: The macros that

Re: [Chicken-users] Loading a user-specified list of extensions?

2008-11-09 Thread felix winkelmann
On Sun, Nov 9, 2008 at 1:55 PM, Alejandro Forero Cuervo [EMAIL PROTECTED] wrote: What's the best way for a program to load an egg specified by the user (not known at compile time; and which, obviously, doesn't export macros to the loading program)? For instance, I'd like to do something like:

Re: [Chicken-users] string-translate and utf-8

2008-11-07 Thread felix winkelmann
On Sun, Nov 2, 2008 at 1:40 PM, Sunnan [EMAIL PROTECTED] wrote: I'm updating old code that used to work: (require-extension syntax-case utf8 srfi-1 utf8-srfi-13 miscmacros) ;(import utf8) ;(import utf8-srfi-13) ;(commented out since they're not needed anymore?) (use utf8-srfi-13) ;(I've

Re: [Chicken-users] current base64 on chicken 3 incorrect?

2008-11-03 Thread felix winkelmann
On Mon, Nov 3, 2008 at 5:56 AM, Jim Ursetto [EMAIL PROTECTED] wrote: I updated the Chicken 3 egg and will update the Chicken 4 version shortly. In the meantime the really brain-dead patch is attached. Thanks, Jim. cheers felix ___ Chicken-users

Re: [Chicken-users] Qt egg

2008-11-02 Thread felix winkelmann
On Sun, Nov 2, 2008 at 7:14 AM, Shawn Rutledge [EMAIL PROTECTED] wrote: 1) export QTDIR=/usr 2) export QMAKESPEC=macx-g++ (to get a Makefile rather than XCode project) 3) tar zxvf qt.egg and modify the last line of qt.pro like this: QT+=opengl xml 4) chicken-setup Felix - I

Re: [Chicken-users] faster threading

2008-11-01 Thread felix winkelmann
On Sat, Nov 1, 2008 at 2:51 PM, Marc Feeley [EMAIL PROTECTED] wrote: I'm glad you decided to use the red-black tree implementation from Snow. As you know this code was originally written by the MIT-Scheme team and I made some important changes to improve the efficiency. Please maintain the

Re: [Chicken-users] improved inlining

2008-10-30 Thread felix winkelmann
On Wed, Oct 29, 2008 at 7:07 PM, Sven Hartrumpf [EMAIL PROTECTED] wrote: Hi Felix. Excellent move! I can confirm that inlining is often the key to widen performance bottle necks. And if I understand your modification correctly, it might even allow to inline functions from the chicken core if

Re: [Chicken-users] Bug in canonical-path?

2008-10-30 Thread felix winkelmann
On Thu, Oct 30, 2008 at 12:46 AM, Ivan Raikov [EMAIL PROTECTED] wrote: Actually, I think it would be nice to have a tool that can automatically create a custom Chicken shared library that only includes the units that user specifies, and perhaps that can also statically link eggs to that

Re: [Chicken-users] Bug in canonical-path?

2008-10-29 Thread felix winkelmann
On Wed, Oct 29, 2008 at 9:04 AM, Ivan Raikov [EMAIL PROTECTED] wrote: Hi all, I have been meaning to port the Haskell FilePath library to Chicken, because I find its API to be quite elegant and better organized than the existing file name manipulation routines in Chicken. This discussion

Re: [Chicken-users] Bug in canonical-path?

2008-10-29 Thread felix winkelmann
On Wed, Oct 29, 2008 at 11:43 AM, Peter Bex [EMAIL PROTECTED] wrote: I would keep these things in extensions, though. There is already too much stuff in the core (I know I keep repeating this, but I'm really concerned about it). I think Ivan is not suggesting _adding_ this to core, but

[Chicken-users] Repository mirror

2008-10-29 Thread felix winkelmann
Hello! Thanks to Alaric and Mario, we have a mirror site for SVN access now: http://chicken.kitten-technologies.co.uk/ The repository is updated hourly and allows read-only access, in case there are problems with galinha (or it's connection to the 'net). The chicken-install program has been

[Chicken-users] improved inlining

2008-10-29 Thread felix winkelmann
Hi! I have added some inlining improvements to the trunk that might be of interest: together with a bit of compiler cleanup, inlining has been made more aggressive (a higher default setting for inline-limit) and a new compilation mode (local) has been added. local is what gambit calls block: it

Re: [Chicken-users] faster threading

2008-10-28 Thread felix winkelmann
On Sun, Oct 26, 2008 at 1:59 AM, Jörg F. Wittenberger [EMAIL PROTECTED] wrote: Doing the math: I have usually a minimum of 50 entries in ##sys#fd-list and my stuff is rather critical wrt. i/o _latency_. ##sys#fd-list is a linear unordered list. The network is wide area, hence we can assume a

Re: [Chicken-users] do we need a wiki branch?

2008-10-15 Thread felix winkelmann
On Wed, Oct 15, 2008 at 2:29 AM, Ivan Raikov [EMAIL PROTECTED] wrote: There is already an Eggs Unlimited 4 page, which will have to be modified so that the links point to the release 4 egg documentation. This is why I proposed (and implemented) two post-commit scripts, so that the release 4

[Chicken-users] Re: module for srfi-35

2008-10-14 Thread felix winkelmann
On Tue, Oct 14, 2008 at 4:08 PM, Jörg F. Wittenberger [EMAIL PROTECTED] wrote: The former one (within the block comment) binds condition? etc. to unbound value. How is that possible? With the attached file I get: % bin/csi -s srfi-35.scm #procedure (condition? obj) % bin/csc srfi-35.scm

[Chicken-users] Re: let-location modules - modules for srfi-3435 - 2 questions

2008-10-12 Thread felix winkelmann
On Fri, Oct 10, 2008 at 9:48 PM, Jörg F. Wittenberger [EMAIL PROTECTED] wrote: Thanks - forget about this one. I've successfully thrown together two (attached) files containing a compilation unit each, which contain modules for srfi-3435. Those replaced the module-unaware define-macro

[Chicken-users] Re: how to pass a certain environment to eval

2008-10-12 Thread felix winkelmann
On Fri, Oct 10, 2008 at 10:02 PM, Jörg F. Wittenberger [EMAIL PROTECTED] wrote: I need eval to see my imported modules from top level. Right now - and with the srfi-35.scm from my last posting - condition-message? (for instance) is unbound in eval. import will try somewhere to find a .so

[Chicken-users] Re: module for srfi-35

2008-10-12 Thread felix winkelmann
On Fri, Oct 10, 2008 at 10:18 PM, Jörg F. Wittenberger [EMAIL PROTECTED] wrote: I just noticed that my srfi-35 files does not do enough. At the end there is a: (import (rename srfi-35 (condition? srfi35:condtition?) (message-condition?

Re: [Chicken-users] Fwd from cygwin ML: New package: chicken-3.4.0-1

2008-10-12 Thread felix winkelmann
On Fri, Oct 10, 2008 at 10:09 PM, Nathan Thern [EMAIL PROTECTED] wrote: Hey Chicken users, Chicken is now an official cygwin package! I am the POC and maintainer for the package. Everything seems to work well, but I haven't really stressed the system yet. Comments/critiques welcome.

[Chicken-users] Re: how to pass a certain environment to eval

2008-10-12 Thread felix winkelmann
On Sun, Oct 12, 2008 at 10:53 PM, felix winkelmann [EMAIL PROTECTED] wrote: import will try to find an import library. If you compile your modules with -emit-import-library MODULE, then a MODULE.import.scm will be generated that you can compile to a .so and which can then be accessed via

Re: [Chicken-users] do we need a wiki branch?

2008-10-10 Thread felix winkelmann
On Fri, Oct 10, 2008 at 2:00 AM, Ivan Raikov [EMAIL PROTECTED] wrote: The URLs for wiki egg documentation are currently of the form: http://chicken.wiki.br/eggname In order to follow the egg repository layout, these URLs need to become: http://chicken.wiki.br/eggs/3/eggname

[Chicken-users] raw strings

2008-10-10 Thread felix winkelmann
Hello! Since escaping backslashes inside string literals can get tedious, I wondered wether a non-escaping string-syntax might be handy. Something like: # ...(doesn't treat backslashes special, with the exception of \) Any alternative suggestions? cheers, felix

Re: [Chicken-users] raw strings

2008-10-10 Thread felix winkelmann
On Fri, Oct 10, 2008 at 9:16 AM, Peter Bex [EMAIL PROTECTED] wrote: On Fri, Oct 10, 2008 at 09:07:59AM +0200, felix winkelmann wrote: Hello! Since escaping backslashes inside string literals can get tedious, I wondered wether a non-escaping string-syntax might be handy. Something like

Re: [Chicken-users] do we need a wiki branch?

2008-10-09 Thread felix winkelmann
On Thu, Oct 9, 2008 at 8:45 AM, Ivan Raikov [EMAIL PROTECTED] wrote: Yes, I have had svnwiki installations with multiple nested subdirectories. The only thing is that your favorite post-commit script will have to be modified to update the Eggs Unlimited pages to point to the correct egg

Re: [Chicken-users] pattern matching

2008-10-09 Thread felix winkelmann
But where is the real source? Neither firefox nor svn ls did help me to find it. http://chicken.wiki.br/svn/chicken-eggs/release/4/matchable/ cheers, felix ___ Chicken-users mailing list Chicken-users@nongnu.org

Re: [Chicken-users] pattern matching

2008-10-09 Thread felix winkelmann
On Wed, Oct 8, 2008 at 12:54 PM, Jörg F. Wittenberger [EMAIL PROTECTED] wrote: #;1 (load matchable.scm) ; loading matchable.scm ... #;2 (print (match '(lambda (a b) (+ a b)) ((_ llist body ...) #t))) Error: (match) no matching pattern You probably have not done (import

Re: [Chicken-users] do we need a wiki branch?

2008-10-08 Thread felix winkelmann
On Tue, Oct 7, 2008 at 10:15 AM, Ivan Raikov [EMAIL PROTECTED] wrote: Yes, I think it would be a good idea to move the egg documentation to wiki subfolders so that the wiki structure reflects the egg repository structure. That's a good idea! I didn't know svnwiki supports that. (ahem, does

Re: [Chicken-users] pattern matching

2008-10-08 Thread felix winkelmann
On Tue, Oct 7, 2008 at 12:21 PM, Jörg F. Wittenberger [EMAIL PROTECTED] wrote: Uhm, try: (print (match '(lambda (a b) (+ a b)) ((_ llist body ...) #t))) Ellipsis do somehow not match at all. #;1 (use matchable) ; loading

[Chicken-users] Re: let-location modules

2008-10-08 Thread felix winkelmann
On Tue, Oct 7, 2008 at 4:32 PM, Jörg F. Wittenberger [EMAIL PROTECTED] wrote: Hi Felix all, I ran into a deep mess when I started to use modules to get my import/export warnings back. Currently I'm fixing those imports and can't compile any useful result anyway. But either I'm missing

[Chicken-users] Re: let-location modules

2008-10-08 Thread felix winkelmann
On Tue, Oct 7, 2008 at 4:32 PM, Jörg F. Wittenberger [EMAIL PROTECTED] wrote: I'm seeing a dark spot in the future... I understand that this needs some getting used to. We are fundamentally changing the whole syntax and name-resolution system, and it is likely that the documentation is not up

Re: [Chicken-users] -lambda-lift broken in trunk

2008-10-07 Thread felix winkelmann
On Thu, Oct 2, 2008 at 3:32 PM, Jörg F. Wittenberger [EMAIL PROTECTED] wrote: Hi, I lifted a piece off the library and compiled it with -lambda-lift The result does not work at all. Possibly fixed in rev. 12114. Thanks for reporting this and the test-case. cheers, felix

[Chicken-users] do we need a wiki branch?

2008-10-07 Thread felix winkelmann
Hello! Since eggs are currently being ported to chicken-4, I couldn't find a decent place for storing updated documentation (like module-names, for example). Also, there is some cleaning up being done, so I wonder whether we should create a wiki branch for keeping updated egg documentation until

Re: [Chicken-users] chicken-install fails

2008-10-06 Thread felix winkelmann
On Fri, Oct 3, 2008 at 3:40 PM, John Cowan [EMAIL PROTECTED] wrote: felix winkelmann scripsit: What's the output of csi -P '(repository-path)' Oho. It's /usr/local/lib/chicken/3, whereas the files you mention are in /usr/local/lib/chicken/4, as I'd expect. When I say (use setup-utils

Re: [Chicken-users] Re: -lambda-lift broken in trunk

2008-10-06 Thread felix winkelmann
On Fri, Oct 3, 2008 at 6:09 PM, Jörg F. Wittenberger [EMAIL PROTECTED] wrote: I guess I have a better test case for you. plus1 was my 1st attempt to simplify the code. Too much however, this one prints 2. len has almost the same structure - but breaks. Thanks a lot. Good minimal test-cases

Re: [Chicken-users] chicken-install fails

2008-10-03 Thread felix winkelmann
On Thu, Oct 2, 2008 at 8:48 PM, John Cowan [EMAIL PROTECTED] wrote: I can't install any eggs with the trunk version of chicken-install. It always crashes right away with: Error: (require) can not load extension: setup-utils I built it on a clean Linux x86_64 machine (no existing

Re: [Chicken-users] hygienic/trunk switch

2008-10-02 Thread felix winkelmann
On Wed, Oct 1, 2008 at 6:41 PM, Will Farr [EMAIL PROTECTED] wrote: Sven, I made it work using the bootstrap compiler included with the svn trunk. Otherwise, it fails with the same error. make PLATFORM=... PREFIX=... bootstrap make PLATFORM=... PREFIX=... CHICKEN=./chicken-boot I'd add a

Re: [Chicken-users] -check-imports

2008-10-02 Thread felix winkelmann
On Wed, Oct 1, 2008 at 11:27 PM, Jörg F. Wittenberger [EMAIL PROTECTED] wrote: Hi Felix (and all), I appreciate the work, which went into hygienic chicken. It's probably time for me to eventually learn to write hygienic macros. It's not that hard. Just keep things simple. :-) But there's

<    1   2   3   4   5   6   7   8   9   10   >