[self-interest] Questions about implied self
Casey Ransberger
casey.obrien.r at gmail.com
Thu Feb 17 17:48:49 UTC 2011
Yeah, but I was so much older then. I'm younger than that now:)
On Feb 17, 2011, at 9:47 AM, "Jecel Assumpcao Jr." <jecel at merlintec.com> wrote:
> Casey,
>
> > I may be suffering from flatulent gray matter; I read this in the handbook, section 2.3.3:
> >
> > Associativity. Keyword messages associate from right to left, so
> >
> > 5 min: 6 min: 7 Max: 8 Max: 9 min: 10 Max: 11
> >
> > is interpreted as
> >
> > 5 min: (6 min: 7 Max: 8 Max: (9 min: 10 Max: 11))
>
> You are probably right and it is my memory that is incorrect. I thought
> that something like "5 min: 6 min: 7" would be considered a syntax error
> and you would be forced to add parenthesis to get it to parse (another
> small Self/Smalltalk-80 difference: what is called the compiler in
> Smalltalk-80 is known as the parser in Self so that the term compiler
> can be used for the bytecode-to-machine code translator).
>
> Looking at my 1993 tinySelf 0 code, I see that it would indeed parse the
> above as "5 min: (6 min: 7)" without any errors. So at one time I knew
> this :-)
>
> Sorry about the confusion,
> -- Jecel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.selflanguage.org/pipermail/self-interest/attachments/20110217/6fede059/attachment.html>
More information about the Self-interest
mailing list