<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div><div>Hi,<br><br></div>where can I find a good reference about what characters are allowed as<br></div>binary selectors (from old syntax definition) and what is nowadays allowed<br></div>by the implementations.<br><br></div>And whether the current set of allowed binaries selector includes some additions on<br></div>purpose or if this is just a bug of the parser.<br><br></div>From what I found out,  (Blue book and some other smalltalk syntax definitions)<br>the current set of allowed characters includes the &quot;special characters&quot;:<br>$! $% $&amp; $* $+ $, $- $/ $&lt; $= $&gt; $? $@ $\ $| $~<br></div>(some implementation do not allow $@ and some calls $- not a special character<br></div><div>but allowed as binary selector character)<br><br></div>And this is what String&gt;&gt;#numArgs uses. Therefore<br><br>&#39;-&#39; numArgs &quot;-&gt;1&quot;.<br></div>&#39;!&#39; numArgs &quot;-&gt;1&quot;.<br></div>And for example:<br>&#39;§&#39; numArgs &quot;-&gt; -1 (the -1 is indicating &quot;not even a valid selector&quot;)&quot;<br><br></div>But I am interested in the characters not called &quot;special characters and<br></div>not even in the range 0-126.<br><br></div>The scanner allowes much more characters to be used as a selector name<br></div><div>(From the scanners typeTable) :<br></div><div><br>{Character value: 1 . Character value: 2 . Character value: 3 . Character value: 4 . Character value: 5 . Character value: 6 . Character value: 7 . Character backspace . Character value: 11 . Character value: 14 . Character value: 15 . Character value: 16 . Character value: 17 . Character value: 18 . Character value: 19 . Character value: 20 . Character value: 21 . Character value: 22 . Character value: 23 . Character value: 24 . Character value: 25 . Character value: 26 . Character escape . Character value: 28 . Character value: 29 . Character value: 30 . Character value: 31 . $! . $% . $&amp; . $* . $+ . $, . $- . $/ . $&lt; . $= . $&gt; . $? . $@ . $\ . $` . $~ . Character delete . $€ . $  . $‚ . $ƒ . $„ . $… . $† . $‡ . $ˆ . $‰ . $Š . $‹ . $Œ . $  . $Ž . $  . $  . $‘ . $’ . $“ . $” . $• . $– . $— . $˜ . $™ . $š . $› . $œ . $  . $ž . $Ÿ . $  . $¡ . $¢ . $£ . $¤ . $¥ . $¦ . $§ . $¨ . $© . $« . $¬ . $­ . $® . $¯ . $° . $± . $² . $³ . $´ . $¶ . $· . $¸ . $¹ . $» . $¼ . $½ . $¾ . $¿ . $× . $÷}<br><br></div>This means you can define a method with for example the name &quot;÷&quot;.<br><br></div><div>So , the question I want to ask. What do we want to allow as a binary selector (character).<br></div><div>All that is nowadays &quot;parseable&quot; as binary selector, or only the set of &quot;special characters&quot;<br></div><div>or something between both, and where to put this information, the &quot;this is an allowed binary<br></div><div>selector character&quot; information?<br><br></div><div>Thanks<br></div><div>Nicolai<br></div></div><div><div><br></div></div></div>