[Seaside] Importing halo's from Monticello

Pennell, David DPennell at quallaby.com
Tue Jun 7 18:01:32 CEST 2005


VW specific FYI:

In VW, literals are marked as immutable, so storing into the literal
will cause an error.  You can mark the literal as mutable.

You can load the CompileTimeEval package from the Cincom public
repository to get the VA style compile-time evaluation.

-david

> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-
> bounces at lists.squeakfoundation.org] On Behalf Of Avi Bryant
> Sent: Saturday, June 04, 2005 6:33 AM
> To: The Squeak Enterprise Aubergines Server - general discussion.
> Subject: Re: [Seaside] Importing halo's from Monticello
> 
> On 6/4/05, stephane ducasse <stephane.ducasse at free.fr> wrote:
> > Hi avi
> >
> > This hack is really a hack and a bad one. :)
> > I would just implement a lazy accessor instead than relying on the
> > way compiled method
> > manage literal frame.
> 
> Well, what's really wanted is what Bert mentioned: a syntax for
> compile-time evaluation like VA has (and some other dialects?).  This
> is just a cheesy way of simulating that.  Using an instance variable
> here wouldn't be the right semantics; you could use a class variable
> but then you'd have to worry about nilling it out every time you
> modified the method.  So I don't think we have a perfect solution.
> 
> But at any rate, you certainly shouldn't use this hack without being
> fully aware of why it works and how it might break in the future.
> 
> Avi
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/seaside


More information about the Seaside mailing list