<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p><span style="font-size: 12pt;">Hi Marcel,</span><br>
</p>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p><br>
</p>
<p>with the current Trunk version, I can copy the value of any of these representations and reevaluate it:</p>
<p><br>
</p>
<p><img naturalheight="246" naturalwidth="350" size="22886" id="x_img761773" tabindex="0" style="max-width: 99.9%; user-select: none;" src="cid:7d5de31c-8b33-46bf-a135-09490f9bfb5f"><br>
</p>
<p><br>
</p>
<p>I just wanted to note that this won't be possible even longer if we start inserting spaces in that representation.</p>
<p><br>
</p>
<p>Btw, just for inspiration here is how they deal with this in C#: <a href="https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-7.0/digit-separators" class="x_OWAAutoLink" id="LPlnk196696" previewremoved="true">https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-7.0/digit-separators</a></p>
<p>Allow expressions like 2r10_1010 in Smalltalk? This would probably contrast with the minimality of the Smalltalk language. :-)</p>
<p><br>
</p>
<p>Best,</p>
<p>Christoph</p>
<div id="x_Signature">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div name="x_divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Tobias Pape <Das.Linux@gmx.de><br>
<b>Gesendet:</b> Freitag, 5. Juni 2020 12:59:18<br>
<b>An:</b> The general-purpose Squeak developers list<br>
<b>Betreff:</b> Re: [squeak-dev] The Inbox: Morphic-mt.1664.mcz</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt">
<div class="PlainText">yes!<br>
-t<br>
> On 05.06.2020, at 12:01, Marcel Taeumel <marcel.taeumel@hpi.de> wrote:<br>
> <br>
> Like this?<br>
> <br>
> <br>
> <br>
> Best,<br>
> Marcel<br>
>> Am 05.06.2020 11:59:19 schrieb Tobias Pape <das.linux@gmx.de>:<br>
>> <br>
>> <br>
>> > On 05.06.2020, at 11:51, Marcel Taeumel wrote:<br>
>> > <br>
>> > Here is an example:<br>
>> > <br>
>> <br>
>> <br>
>> Nice!<br>
>> <br>
>> Here's my thought: binary should be 4 or 8, octal 3 and hex 2 digits :)<br>
>> <br>
>> best regards<br>
>> -Tobias<br>
>> <br>
>> > <br>
>> > <br>
>> > Best,<br>
>> > Marcel<br>
>> >> Am 05.06.2020 11:50:15 schrieb commits@source.squeak.org :<br>
>> >> <br>
>> >> A new version of Morphic was added to project The Inbox:<br>
>> >> <a href="http://source.squeak.org/inbox/Morphic-mt.1664.mcz" id="LPlnk498913" previewremoved="true">
http://source.squeak.org/inbox/Morphic-mt.1664.mcz</a><br>
>> >> <br>
>> >> ==================== Summary ====================<br>
>> >> <br>
>> >> Name: Morphic-mt.1664<br>
>> >> Author: mt<br>
>> >> Time: 5 June 2020, 11:49:58.884634 am<br>
>> >> UUID: 8a563509-bb80-b34a-a723-9bcc1a586f10<br>
>> >> Ancestors: Morphic-mt.1663<br>
>> >> <br>
>> >> Proposal of different format to print integers in the object explorer. Print them in groups of, e.g., 4 digits, separated by a space character.<br>
>> >> <br>
>> >> I am sure that the actual implementation can be improved. :-)<br>
>> >> <br>
>> >> =============== Diff against Morphic-mt.1663 ===============<br>
>> >> <br>
>> >> Item was changed:<br>
>> >> ----- Method: Integer>>explorerContents (in category '*Morphic-Explorer') -----<br>
>> >> explorerContents<br>
>> >> <br>
>> >> ^#(<br>
>> >> + ('hexadecimal' 16 4)<br>
>> >> + ('octal' 8 4)<br>
>> >> + ('binary' 2 4)) collect: [ :each | | label group |<br>
>> >> + group := each third.<br>
>> >> + label := self printStringBase: each second.<br>
>> >> + label := label padded: #left to: (label size roundUpTo: group) with: $0.<br>
>> >> + label := String streamContents: [:s |<br>
>> >> + 1 to: label size by: group do: [:index |<br>
>> >> + 1 to: group do: [:gIndex |<br>
>> >> + s nextPut: (label at: index + gIndex - 1)].<br>
>> >> + s space]].<br>
>> >> + <br>
>> >> - ('hexadecimal' 16)<br>
>> >> - ('octal' 8)<br>
>> >> - ('binary' 2)) collect: [ :each |<br>
>> >> ObjectExplorerWrapper<br>
>> >> + with: label<br>
>> >> - with: (self printStringBase: each second)<br>
>> >> name: each first translated<br>
>> >> model: self ]!<br>
>> >> <br>
>> >> <br>
>> > <br>
>> <br>
>> <br>
>> <br>
> <br>
<br>
<br>
<br>
</div>
</span></font></div>
</body>
</html>