Re: About sweet-expression

2012-03-05 Thread David Kastrup
Nala Ginrut writes: > I try to port sweet-expression to newest Guile. Fortunately, the > author wrote a compatible version for old Guile in 2008. So I just try > to rewrite part of it for some obvious reasons. It woks fine now. > > Though some guys doesn't like sweet-expression at all (OK, they'r

Re: About sweet-expression

2012-03-05 Thread Mark H Weaver
Nala Ginrut writes: > I try to port sweet-expression to newest Guile. Fortunately, the > author wrote a compatible version for old Guile in 2008. So I just try > to rewrite part of it for some obvious reasons. It woks fine now. > > Though some guys doesn't like sweet-expression at all (OK, they'r

Re: About sweet-expression

2012-03-05 Thread Nala Ginrut
sorry for stupid typo: s/Python of C/Python or C Regards

About sweet-expression

2012-03-05 Thread Nala Ginrut
I try to port sweet-expression to newest Guile. Fortunately, the author wrote a compatible version for old Guile in 2008. So I just try to rewrite part of it for some obvious reasons. It woks fine now. Though some guys doesn't like sweet-expression at all (OK, they're real Lispers! But me too ;-)).

Re: [PATCH] Efficient Gensym Hack

2012-03-05 Thread Mark H Weaver
Hi Andy, thanks for the quick response! :) Andy Wingo writes: > On Mon 05 Mar 2012 18:17, Mark H Weaver writes: > >> It makes 'gensym' about 4.7 times faster on my Yeeloong. Gensyms are >> not given names or even numbers until they are asked for their names or >> hash values (for 'equal?' hash

Re: Autocompilation/LilyPond

2012-03-05 Thread Mark H Weaver
David Kastrup writes: > Mark H Weaver writes: > >> Excellent! As long as you load everything in the right order, such that >> macros are defined before they are used, I don't see why there should be >> any other problems related to macros and compilation. > > Because the individual files are no

Re: Autocompilation/LilyPond

2012-03-05 Thread David Kastrup
Mark H Weaver writes: > David Kastrup writes: > >> Mark H Weaver writes: >> >>> David Kastrup writes: >>> with the stable release 2.16 of LilyPond looming around the corner, it will become imminent soon to think about supporting Guile 2.0. Previous attempts have mostly expl

Re: [PATCH] Efficient Gensym Hack

2012-03-05 Thread Andy Wingo
Hi Mark, A quick reaction to your summary; I'll look at the patches shortly. On Mon 05 Mar 2012 18:17, Mark H Weaver writes: > Here's an implementation of the efficient gensym hack for stable-2.0. Excellent! > It makes 'gensym' about 4.7 times faster on my Yeeloong. Gensyms are > not given n

Re: Autocompilation/LilyPond

2012-03-05 Thread Mark H Weaver
David Kastrup writes: > Mark H Weaver writes: > >> David Kastrup writes: >> >>> with the stable release 2.16 of LilyPond looming around the corner, it >>> will become imminent soon to think about supporting Guile 2.0. >>> >>> Previous attempts have mostly exploded around the problem that we hav

[PATCH] Efficient Gensym Hack

2012-03-05 Thread Mark H Weaver
Hello all, Here's an implementation of the efficient gensym hack for stable-2.0. It makes 'gensym' about 4.7 times faster on my Yeeloong. Gensyms are not given names or even numbers until they are asked for their names or hash values (for 'equal?' hash tables only). The first patch adds an optim

Re: Autocompilation/LilyPond

2012-03-05 Thread David Kastrup
Mark H Weaver writes: > David Kastrup writes: > >> with the stable release 2.16 of LilyPond looming around the corner, it >> will become imminent soon to think about supporting Guile 2.0. >> >> Previous attempts have mostly exploded around the problem that we have >> something like >> >> (for-ea

Re: Autocompilation/LilyPond

2012-03-05 Thread Mark H Weaver
David Kastrup writes: > with the stable release 2.16 of LilyPond looming around the corner, it > will become imminent soon to think about supporting Guile 2.0. > > Previous attempts have mostly exploded around the problem that we have > something like > > (for-each ly:load init-scheme-files) > >

Autocompilation/LilyPond

2012-03-05 Thread David Kastrup
Hi, with the stable release 2.16 of LilyPond looming around the corner, it will become imminent soon to think about supporting Guile 2.0. Previous attempts have mostly exploded around the problem that we have something like (for-each ly:load init-scheme-files) in our lily.scm file, and the aut