<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On 2013-09-13, at 08:40, Nicolas Cellier &lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div>Well, Squeak still accept #: but it already prints #':' because we refactored Scanner class&gt;&gt;isLiteralSymbol: some years ago<br></div></div></blockquote><div><br></div><div>Ah, right.</div><br><blockquote type="cite"><div dir="ltr"><div>We also changed String&gt;&gt;numArgs so that #':if:then:else:' numArgs = -1<br>
</div><div>It would be logical to finish the clean-up.<br>Only the possibility to load historical code should retain us if it really matters<br>(but it's hard to tell without analyzing large code bases).<br><br></div>
<div>That's one thing we should always remember: adding a small extension to the syntax is very easy to do.<br></div><div>Removing it is much much harder (for social reasons).<br></div><div><br></div>Pharo 3.0 does not accept #: #:x anymore since OpalCompiler switch.</div></blockquote><div><br></div><div>... but it's not released yet.</div><div><br></div><div>Anyway, it looks like we can pretty safely remove it. In particular if the syntax error notifier lets us easily fix an occurrence when trying to load older code - does it?</div><div><br></div><div>- Bert -</div><br><blockquote type="cite"><div class="gmail_extra"><div class="gmail_quote">2013/9/12 Bert Freudenberg <span dir="ltr">&lt;<a href="mailto:bert@freudenbergs.de" target="_blank">bert@freudenbergs.de</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto; ">
<div class="HOEnZb"><div class="h5"><br>
On 2013-09-12, at 23:03, Levente Uzonyi &lt;<a href="mailto:leves@elte.hu">leves@elte.hu</a>&gt; wrote:<br>
<br>
&gt; On Thu, 12 Sep 2013, Bert Freudenberg wrote:<br>
&gt;<br>
&gt;&gt; On 2013-09-11, at 23:14, Nicolas Cellier &lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp;After verification, xColon is not so rare, it is invoked for every block argument...<br>
&gt;&gt;&gt; &nbsp; &nbsp; &nbsp;But we can safely replace (token := self step asSymbol) with (token := String with: self step), no problem.<br>
&gt;&gt;&gt; We can even change it to (token := self step) if we are willing to remove last scories of alternate selectors beginning with $:<br>
&gt;&gt;&gt; Indeed, #: and #:x are obsolete squeakism which would not compile in other dialects (#':' and #':x' is the universally correct syntax).<br>
&gt;&gt; Well, all Squeak-derived dialects still do support it. Pharo changed the printString of #: to #':', while Squeak and Cuis still print #:. And they all accept #:, #:x, and #:x:::.<br>
&gt;<br>
&gt; You mean you can still use #: or #:x as a selector in Squeak, Cuis or Pharo? I'm pretty sure that was removed long ago from Squeak, and I doubt the other dialects support them.<br>
<br>
<br>
</div></div>No, I mean they recognize the symbol syntax.<br>
<span class="HOEnZb"><font color="#888888"><br>
- Bert -<br>
<br>
<br>
<br>
</font></span></blockquote></div><br></div>
<br></blockquote></div><br></body></html>