Re: eval-case and toplevel prohibitions

2009-03-06 Thread Andy Wingo
Hi, On Wed 04 Mar 2009 09:48, l...@gnu.org (Ludovic Courtès) writes: > Andy Wingo writes: > >> So I was thinking: why do we have this fetish for prohibiting certain >> forms in a non-toplevel context? I am of a mind to replace eval-case >> with eval-when, which is actually more expressive, as it

Re: eval-case and toplevel prohibitions

2009-03-04 Thread Ludovic Courtès
Hello! Andy Wingo writes: > So I was thinking: why do we have this fetish for prohibiting certain > forms in a non-toplevel context? I am of a mind to replace eval-case > with eval-when, which is actually more expressive, as it allows us to > discriminate the different phases in non-toplevel con

Re: eval-case and toplevel prohibitions

2009-03-03 Thread Neil Jerram
Andy Wingo writes: > So I was thinking: why do we have this fetish for prohibiting certain > forms in a non-toplevel context? I am of a mind to replace eval-case > with eval-when, which is actually more expressive, as it allows us to > discriminate the different phases in non-toplevel contexts as

eval-case and toplevel prohibitions

2009-03-02 Thread Andy Wingo
Hi all, I've been hacking at the compiler in recent days, separating out expansion from compilation (currently they are intertwingled, which produces some bugs), and making GHIL a more simple language, more amenable to optimization. I've grown to really like syncase in its psyntax.scm incarnation