Brian T. Rice | 16 Aug 18:46

Re: mail didn't go through to slate list

On Tue, August 15, 2006 10:45 pm, Timmy Douglas said:
> Hey, I sent the following to the slate discussion list but I never saw
> it show up.... I'm not sure what happened... tried sending it twice...
> You're probably the only one who might be able to answer it.

I saw both copies show up.

> I'm not sure who can answer this question, but maybe someone who knows
> something about compilers might be able to give me a hint. I decided
> to take a look at mobius/optimizer/* again, and I've gotten stuck,
> pretty quickly.
>
> Basically, I've been trying to run code like this (I got x+1 to work
> instead of x itself... recorded two lines to my darcs):
>
> [ | ir mr |
>  ir: (Optimizer IR Generator new).
>  ir generate:  ([ | :x |  x + 1] `quote).
>  mr: (Optimizer MR Generator newArchitecture: ir module).
>  lobby inform: ir module printString.
>  mr generate: ir module.
>  mr generate: (ir module closures at: 0). " <- problem here"
>
> ] do.
>
>
> I marked the problem above. In that generate function, the mr
> generator tries to find the closure in the list of it's registered
> functions (which are registered? when I generate the ir module). The
> problem is that the MR stage only holds functions but the IR stage (as
(Continue reading)


Gmane