binary selectors ambiguity and space

Andreas Raab andreas.raab at gmx.de
Mon May 15 22:11:23 UTC 2006


Stephan Rudlof wrote:
> NCITS J20 DRAFT December, 1997 33 of ANSI Smalltalk Standard revision
> 1.9; in short:
> - 'White space is allowed between the '-' and the <number>' for a
> numeric literal; and
> - 'If a negative <number literal> follows a binary selector there must
> intervening white space.'

Just out of curiosity, which of the Smalltalks that claim to be ANSI 
compliant actually implement the above? A dead giveaway would probably 
be Number>>#@- (except that according to ANSI this requires spaces, too, 
right? right??? ;-) so can anyone confirm which Smalltalks out there 
actually compile according to those rules? Briefly checking VW shows it 
doesn't, neither does Squeak. What about others?

Cheers,
   - Andreas



More information about the Squeak-dev mailing list