binary selectors ambiguity and space
sr at evolgo.de
Mon May 15 06:44:51 UTC 2006
On 15.05.2006 07:41, Wolfgang Helbig wrote:
> The Scanner>>xBinary method should not at all accept expressions like "x+-3".
> Instead it should kindly ask the programmer to resolve the ambiguity by
> inserting white space. Without taking a default action. Expressions are
> ambiguous, if a minus character can be parsed both as the second character of a
> binary selector and as the first character of a number literal.
Stephan Rudlof (sr at evolgo.de)
"Genius doesn't work on an assembly line basis.
You can't simply say, 'Today I will be brilliant.'"
-- Kirk, "The Ultimate Computer", stardate 4731.3
More information about the Squeak-dev