[squeak-dev] valid characters for binary selector

Chris Muller ma.chris.m at gmail.com
Sat May 25 23:08:28 UTC 2019


It also seems to indicate that - (minus) is only allowed all by itself, not
with any of the others.

The others are limited to a maximum of two.

However, I was just able to save (compile) a method named - at +.   So is it
okay / advisable to go beyond the original spec if it lets me?

On Sat, May 25, 2019 at 6:04 PM Chris Muller <ma.chris.m at gmail.com> wrote:

> I was looking for every valid character allowed as part of a binary
> selector name.  Nothing in SelectorNode was obvious to me, but the AST
> diagram in my copy of *Smalltalk-80, The Language and Implementation*,
> says they are:
>
>      - + / * ~ < > = @ % | & ? !
>
> Is this still correct?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20190525/a6ae4e84/attachment.html>


More information about the Squeak-dev mailing list