chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] future of chicken?


From: felix
Subject: Re: [Chicken-users] future of chicken?
Date: Fri, 09 Aug 2002 00:23:13 +0200

"Perry E. Metzger" wrote:
> 
> I've read the ARC page and I liked some of what I saw, but I'm not
> sure I buy into the whole thing. The emphasis on concise expression
> seemed generally reasonable, though I'm not sure it can't be taken too
> far. Perl is often not very readable when people go too far with the
> syntax, APL triply so. Calling lambda "fn" might not be stupid,
> though, and it is nice at times to have perl-style anamorphic constructs.
> 
> Many of the ideas, of course, could be tested out in scheme just by
> adding a few macros and playing.

Chicken can quite easily be extended to compile other languages.
This is what the user-passes are all about. See the prolog-compiler
in the `examples' directory (in the Chicken tarball).

Just put your parser in `user-read-pass', say in a file named "arc.scm",
and then:

% csc -s -O2 arc.scm
% chicken foo.arc -extend arc.so ...

Well, of course it's not that easy, but you can do a lot of stuff
in those user-passes, even incorporate your own optimizations.


cheers,
felix



reply via email to

[Prev in Thread] Current Thread [Next in Thread]