Fun with symbol

Boris Popov boris at deepcovelabs.com
Wed May 23 15:37:40 UTC 2007


Ditto, 7.5 works just fine.

Cheers!

-Boris

-- 
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

boris at deepcovelabs.com

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

> -----Original Message-----
> From: Dave Stevenson [mailto:dstevenson at cincom.com]
> Sent: Wednesday, May 23, 2007 8:35 AM
> To: nicolas cellier
> Cc: vwnc at cs.uiuc.edu
> Subject: Re: Fun with symbol
> 
> Works fine in current builds.
> 
> nicolas cellier wrote:
> > About some discussion on Squeak-dev...
> > Ah, even mature VW is caught sometimes (at leat 7.3.1)
> >
> > | str |
> > str := String new writeStream.
> > #'x:y:z' storeOn: str.
> > Kernel.Compiler evaluate: str contents readStream
> >
> > Cheers
> >
> >
> >
> > nicolas cellier a écrit :
> >  > That's what mature means I guess.
> >  >
> >  > The last is syntactically correct, and correctly parsed by Squeak.
> >  > However Squeak result is quite surprising, debug it to believe it.
> >  >
> >  > Nicolas
> >  >
> >  >
> >  >
> >  > PS: forgot this one:
> >  >     Compiler evaluate: '#$'.
> >  > Not to confuse:
> >  >     Compiler evaluate: '# $'.
> >  > And:
> >  >     Compiler evaluate: '#$ '.
> >  >
> >  > Boris Popov a écrit :
> >  >> If anyone cares, here's VisualWorks' treatment,
> >  >>
> >  >> Compiler evaluate: '#++'.
> >  >> #++
> >  >>
> >  >> Compiler evaluate: '##'.
> >  >> #word, binary, keyword, (, or [ expected ->#
> >  >>
> >  >> Compiler evaluate: '#'.
> >  >> #word, binary, keyword, (, or [ expected ->
> >  >>
> >  >> Compiler evaluate: '# "please" # "print" # "me"'.
> >  >> # "please" word, binary, keyword, (, or [ expected -># "print" #
> "me"
> >  >>
> >  >> Compiler evaluate: '##()'.
> >  >> #word, binary, keyword, (, or [ expected ->#()
> >  >>
> >  >> Compiler evaluate: '##)'.
> >  >> #word, binary, keyword, (, or [ expected ->#)
> >  >>
> >  >> Compiler evaluate: '##('.
> >  >> #word, binary, keyword, (, or [ expected ->#(
> >  >>
> >  >> Compiler evaluate: '##(##)'.
> >  >> #word, binary, keyword, (, or [ expected ->#(##)
> >  >>
> >  >> Compiler evaluate: '#1'.
> >  >> #word, binary, keyword, (, or [ expected ->1
> >  >>
> >  >> Compiler evaluate: '#-1'.
> >  >> #-Nothing more expected ->1
> >  >>
> >  >> Compiler evaluate: '#--1'.
> >  >> Unhandled exception: Message not understood: #-
> >  >>
> >  >> Cheers!
> >  >>
> >  >> -Boris
> >  >>
> >  >
> >  >
> >  >
> >
> >




More information about the Squeak-dev mailing list