chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] hygienic branch basically working


From: Ivan Raikov
Subject: Re: [Chicken-users] hygienic branch basically working
Date: Tue, 01 Jul 2008 13:05:34 +0900
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

Hi Felix,

   Could you please port the datatype egg to hygienic Chicken? I don't
know enough about macros to make the port myself, and it would be
tremendously instructive for me as an example of how to port eggs that
depend on unhygienic macros. Many thanks,

    -Ivan


"felix winkelmann" <address@hidden> writes:

> Hi!
>
>
> I think the hygienic/modularized version of chicken is now basically 
> functional.
> By porting a number of eggs (testeez, silex, easyffi, matchable and numbers)
> plus the eggs already ported by Jim, I was able to find numerous bugs
> in the module and macro code. Porting itself is not such a big deal (things
> end up much cleaner and simpler to build and install, IMHO), even though
> some eggs that do obscure things at compile-time need a bit of care.
>
> Please give it a try. The eggs are checked into the release/4 branch and can
> not be downloaded yet (thus must be installed manually, taking care of
> installing
> them in the right order). I trying to think of a convenient method of creating
> a local repository from a svn working copy for testing (but my true plan is
> to overhaul chicken-setup - I just keep it as a secret for the time being).
>
> Don't be afraid to report bugs and offer critique! If I come over grumpy
> at times, it's just because the module- and macro stuff stresses my 
> programming
> abilities to the limit...
>
> Some things to note:
>
> - Added `(begin-for-syntax EXPR ...)'
> - `module' allows to specify `*' instead of an export list (exports
> all definitions)
> - `define-for-syntax' and `begin-for-syntax' forms are now properly extracted
>   into import libraries
> - I had to disable compiler-macros for the `numbers' egg for the moment,
>   compiler-macros don't play well with the module system right now
>
> I have absolutely no idea whether and how much this impacts
> performance or scalability
> in any way - currently I'm just happy that it works at all.
>
>
> cheers,
> felix
>
>
> _______________________________________________
> Chicken-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/chicken-users

-- 
"Their eyes met, and his heart soared, like the price of gas before a
 long weekend." --Cornered, by Mike Baldwin




reply via email to

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