Re: [Chicken-users] MSVC makefile and patches

2008-02-22 Thread Felix Winkelmann
Hi, Ashley! I'll put your msvc patches into trunk, now. Would you mind adding a few lines to the README that list particular issues specific to the MSVC build? cheers, felix ___ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.

Re: [Chicken-users] Revised Chapter 1 draft

2008-02-22 Thread Felix Winkelmann
From: Vincent Manis <[EMAIL PROTECTED]> Subject: [Chicken-users] Revised Chapter 1 draft Date: Fri, 22 Feb 2008 23:12:57 -0800 > I've uploaded a draft of a comprehensive expansion of Chapter 1 of the > manual > to http://chicken.wiki.br/new-chapter1 . The intention is to give a > new user > a

[Chicken-users] Revised Chapter 1 draft

2008-02-22 Thread Vincent Manis
I've uploaded a draft of a comprehensive expansion of Chapter 1 of the manual to http://chicken.wiki.br/new-chapter1 . The intention is to give a new user a `big picture' of Chicken by going through some of the most basic use cases, such as running the interpreter, compiling and loading modul

[Chicken-users] Re: Stupid backquote/unquote question

2008-02-22 Thread Hans Nowak
felix winkelmann wrote: On Thu, Feb 21, 2008 at 4:39 PM, Hans Nowak <[EMAIL PROTECTED]> wrote: I guess I'll have to use eval, but I don't think it's going to work if I use this kind of s-expr inside a function? Like (define (blah x) (sasm (jmp ,x))) (where SASM is the name of the m

Re: [Chicken-users] aliases in the wiki

2008-02-22 Thread Felix Winkelmann
From: "Nelson Castillo" <[EMAIL PROTECTED]> Subject: Re: [Chicken-users] aliases in the wiki Date: Fri, 22 Feb 2008 18:04:34 -0500 > On Fri, Feb 22, 2008 at 5:55 PM, Nelson Castillo > <[EMAIL PROTECTED]> wrote: > > > Could we please remove this? It makes a grep over the working > > > copy impos

Re: [Chicken-users] aliases in the wiki

2008-02-22 Thread Nelson Castillo
On Fri, Feb 22, 2008 at 5:55 PM, Nelson Castillo <[EMAIL PROTECTED]> wrote: > > Could we please remove this? It makes a grep over the working > > copy impossible. > > Hi Felix. > > What about: > > find -P . -print0 | xargs -0 grep TEXT Sorry. It is: find . -type f -print0 | xargs -0 grep

Re: [Chicken-users] aliases in the wiki

2008-02-22 Thread Nelson Castillo
> Could we please remove this? It makes a grep over the working > copy impossible. Hi Felix. What about: find -P . -print0 | xargs -0 grep TEXT Regards, N.- -- http://arhuaco.org ___ Chicken-users mailing list Chicken-users@nongnu.org http://lis

Re: [Chicken-users] aliases in the wiki

2008-02-22 Thread felix winkelmann
On Sun, Feb 17, 2008 at 7:11 PM, Alejandro Forero Cuervo <[EMAIL PROTECTED]> wrote: > I have tweaked a bit the code in Svnwiki a bit to support defining > aliases for functions in the wiki. My thinking is that (1) for all > procedures f, http://chicken.wiki.br/f should return something useful, >

Re: [Chicken-users] MSVC makefile and patches

2008-02-22 Thread Ashley
A couple of notes on the msvc build I forgot to mention previously: - When specifying PREFIX during the build, use /: make PLATFORM=msvc PREFIX=c:/development/chicken-msvc Backslashes will cause problems and aren't used internally anyway. - Currently, you have to compile with -DPIC or you'll

Re: [Chicken-users] MSVC makefile and patches

2008-02-22 Thread Ashley
felix winkelmann wrote: On Thu, Feb 21, 2008 at 11:44 PM, Ashley <[EMAIL PROTECTED]> wrote: > The build runs on msys with no problems. Tomorrow I plan to add a setup for cmd.exe, so a user only needs to have gnu make installed to build chicken for visual c. That seems like a pretty low

Re: [Chicken-users] MSVC makefile and patches

2008-02-22 Thread Mario Domenech Goulart
Hi folks, On Fri, 22 Feb 2008 09:14:32 -0500 "Graham Fawcett" <[EMAIL PROTECTED]> wrote: > On Fri, Feb 22, 2008 at 4:19 AM, Vincent Manis <[EMAIL PROTECTED]> wrote: > > Would it be possible to put together a package of GnuWin32 programs so > > as to make Chicken building and egg installation re

Re: [Chicken-users] MSVC makefile and patches

2008-02-22 Thread Graham Fawcett
On Fri, Feb 22, 2008 at 4:19 AM, Vincent Manis <[EMAIL PROTECTED]> wrote: > Would it be possible to put together a package of GnuWin32 programs so > as to make Chicken building and egg installation reliable on Windows? > I guess that would include make, gzip, tar, maybe cp, rm, mv, and I > don'

Re: [Chicken-users] understanding eval

2008-02-22 Thread Daishi Kato
Ah, I see. Thanks a lot! --daishi At Fri, 22 Feb 2008 14:08:25 +0100, Peter Bex wrote: > > On Fri, Feb 22, 2008 at 09:57:42PM +0900, Daishi Kato wrote: > > OK, so that was stupid. > > > > How about this? > > > > (define a 'values) > > (define b '((1 2 3) #(4 5 6)) > > > > I'd like to evaluate

Re: [Chicken-users] understanding eval

2008-02-22 Thread Peter Bex
On Fri, Feb 22, 2008 at 09:57:42PM +0900, Daishi Kato wrote: > OK, so that was stupid. > > How about this? > > (define a 'values) > (define b '((1 2 3) #(4 5 6)) > > I'd like to evaluate (values '(1 2 3) '#(4 5 6)) > using eval, a and b. More of the same: (eval (cons a (map (cut list 'quote <>)

Re: [Chicken-users] understanding eval

2008-02-22 Thread Daishi Kato
OK, so that was stupid. How about this? (define a 'values) (define b '((1 2 3) #(4 5 6)) I'd like to evaluate (values '(1 2 3) '#(4 5 6)) using eval, a and b. --daishi At Fri, 22 Feb 2008 13:29:55 +0100, Peter Bex wrote: > On Fri, Feb 22, 2008 at 09:22:36PM +0900, Daishi Kato wrote: > > Hi, >

[Chicken-users] Re: understanding eval

2008-02-22 Thread Ivan Shmakov
> Daishi Kato <[EMAIL PROTECTED]> writes: > Hi, This might be a stupid question, but would someone help me > understand the following eval example? I was expecting to get 1. [...] > #;1> (define a 'car) > #;2> (define b '(1 2 3)) > #;3> (eval (list a b)) > Error: call of non-procedure

Re: [Chicken-users] understanding eval

2008-02-22 Thread Peter Bex
On Fri, Feb 22, 2008 at 09:22:36PM +0900, Daishi Kato wrote: > Hi, > > This might be a stupid question, > but would someone help me understand the following eval example? > I was expecting to get 1. You're evaluating (car (1 2 3)) You want to be evaluating (car (list 1 2 3)) or (car (quote (1 2 3

[Chicken-users] understanding eval

2008-02-22 Thread Daishi Kato
Hi, This might be a stupid question, but would someone help me understand the following eval example? I was expecting to get 1. Daishi 8<--8<--8<--8<--8<--8<--8<--8<-- CHICKEN Version 2.732 - linux-unix-gnu-x86 [ manyargs dload ptables applyhook cross ] (c)

Re: [Chicken-users] Re: [Chicken-hackers] Re: repository branching

2008-02-22 Thread Alaric Snell-Pym
On 22 Feb 2008, at 10:56 am, Alejandro Forero Cuervo wrote: I'd hope it to be few, and would want to handle it with a suitable macro around the afflicted bits of code, rather than duplicating the whole source file... Yes, that'd seem a more reasonable approach, I'd have to say... Alejo, duck

Re: [Chicken-users] Re: [Chicken-hackers] Re: repository branching

2008-02-22 Thread Mario Domenech Goulart
On Fri, 22 Feb 2008 12:34:36 +0100 Peter Bex <[EMAIL PROTECTED]> wrote: > On Fri, Feb 22, 2008 at 02:38:25AM -0800, Alejandro Forero Cuervo wrote: > > So what about the idea of adding a (supported-releases 2.3 3.0.0) tag > > to the meta file, where particular versions of an egg that needs to do >

Re: [Chicken-users] Re: [Chicken-hackers] Re: repository branching

2008-02-22 Thread Peter Bex
On Fri, Feb 22, 2008 at 02:38:25AM -0800, Alejandro Forero Cuervo wrote: > So what about the idea of adding a (supported-releases 2.3 3.0.0) tag > to the meta file, where particular versions of an egg that needs to do > so specify which is the range of Chicken releases it supports? Actually, this

Re: [Chicken-users] Re: [Chicken-hackers] Re: repository branching

2008-02-22 Thread Alejandro Forero Cuervo
> I'd hope it to be few, and would want to handle it with a suitable > macro around the afflicted bits of code, rather than duplicating the > whole source file... Yes, that'd seem a more reasonable approach, I'd have to say... Alejo, ducking to avoid the rotten oranges that Felix will throw at hi

Re: [Chicken-users] Re: Stupid backquote/unquote question

2008-02-22 Thread Alaric Snell-Pym
On 21 Feb 2008, at 3:39 pm, Hans Nowak wrote: (Which leads me to wonder, *are* there Lisps/Schemes that have first-class macros? Where you can, for example, pass a macro as an argument to map, the way you can do with a function?) There can be, in principle, but they wouldn't be very compila

Re: [Chicken-users] Re: [Chicken-hackers] Re: repository branching

2008-02-22 Thread Alaric Snell-Pym
On 21 Feb 2008, at 8:13 pm, Alejandro Forero Cuervo wrote: What percentage of the eggs do we really expect to require different code for each Chicken release? I would imagine that the percentage is very small, but I don't really know... I'd hope it to be few, and would want to handle it with

Re: [Chicken-users] two procedures looking for a good home

2008-02-22 Thread Alaric Snell-Pym
Any help documenting that egg would be appreciated. :-) Well, we got a hackathon tomorrow, haven't we? Put that on the list, and I'll have a crack at it. I like writing API documentation, oddly... ABS -- Alaric Snell-Pym Work: http://www.snell-systems.co.uk/ Play: http://www.snell-pym.org.uk/a

[Chicken-users] Re: [Chicken-hackers] Re: repository branching

2008-02-22 Thread Alejandro Forero Cuervo
> To keep egg sources for released but old versions, with the option > of maintaining them. It's quite frustrating (as all of us know), that if > I reinstall some eggs (say on a new machine), and those eggs > use features that are only supported in newer chickens. So what about the idea of adding

Re: [Chicken-users] egg documentation

2008-02-22 Thread Vincent Manis
On 2008 Feb 21, at 23:57, Alejandro Forero Cuervo wrote: As such, I will need more convincing before implementing support for . I don't see what it adds that we can't already do. Ok, I see that it would allow arbitrary pages to declare sub-topics of a given topic, but I don't think that should

Re: [Chicken-users] MSVC makefile and patches

2008-02-22 Thread Vincent Manis
On 2008 Feb 22, at 01:08, felix winkelmann wrote: On Thu, Feb 21, 2008 at 11:44 PM, Ashley <[EMAIL PROTECTED] games.com> wrote: The build runs on msys with no problems. Tomorrow I plan to add a setup for cmd.exe, so a user only needs to have gnu make installed to build chicken for visual c.

[Chicken-users] Re: [Chicken-hackers] Re: repository branching

2008-02-22 Thread felix winkelmann
On Thu, Feb 21, 2008 at 9:13 PM, Alejandro Forero Cuervo <[EMAIL PROTECTED]> wrote: > > Umm, what's the motivation for this? To keep egg sources for released but old versions, with the option of maintaining them. It's quite frustrating (as all of us know), that if I reinstall some eggs (say on a

Re: [Chicken-users] MSVC makefile and patches

2008-02-22 Thread felix winkelmann
On Thu, Feb 21, 2008 at 11:44 PM, Ashley <[EMAIL PROTECTED]> wrote: > > > The build runs on msys with no problems. Tomorrow I plan to add > a setup for cmd.exe, so a user only needs to have gnu make installed > to build chicken for visual c. That seems like a pretty low barrier > for windows

Re: [Chicken-users] Re: Stupid backquote/unquote question

2008-02-22 Thread felix winkelmann
On Thu, Feb 21, 2008 at 4:39 PM, Hans Nowak <[EMAIL PROTECTED]> wrote: > > I guess I'll have to use eval, but I don't think it's going to work if I use > this kind of s-expr inside a function? Like > >(define (blah x) > (sasm (jmp ,x))) > > (where SASM is the name of the macro that han