<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jul 31, 2014 at 10:34 AM, Yoshiki Ohshima <span dir="ltr">&lt;<a href="mailto:Yoshiki.Ohshima@acm.org" target="_blank">Yoshiki.Ohshima@acm.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hmm, ok.  This diff has more code than it should have, but I patched<br>
OMeta2 package to make it work in the new compiler regime in Squeak<br>
4.5.  Hans-Martin, do you think you can take this, and update the<br>
config map (if necessary)?</blockquote><div><br></div><div><span class="Apple-style-span" style="border-collapse:collapse;font-family:arial,sans-serif;font-size:14px;color:rgb(0,0,0)">Hopefully the CompiledMethod&gt;&gt;methodNode override is unnecessary.</span><br>
</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
On Thu, Jul 31, 2014 at 1:31 PM,  &lt;<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>&gt; wrote:<br>
&gt; A new version of OMeta2-Preload was added to project The Inbox:<br>
&gt; <a href="http://source.squeak.org/inbox/OMeta2-Preload-yo.15.mcz" target="_blank">http://source.squeak.org/inbox/OMeta2-Preload-yo.15.mcz</a><br>
&gt;<br>
&gt; ==================== Summary ====================<br>
&gt;<br>
&gt; Name: OMeta2-Preload-yo.15<br>
&gt; Author: yo<br>
&gt; Time: 31 July 2014, 1:29:01.319 pm<br>
&gt; UUID: 6c6bc75e-3c9f-4446-b08a-cdce7081ef2d<br>
&gt; Ancestors: OMeta2-Preload-hmm.14<br>
&gt;<br>
&gt; Adapt to Squeak 4.5.<br>
&gt;<br>
&gt; ==================== Snapshot ====================<br>
&gt;<br>
&gt; SystemOrganization addCategory: #OMeta2!<br>
&gt; SystemOrganization addCategory: #&#39;OMeta2-Info&#39;!<br>
&gt;<br>
&gt; ----- Method: CompiledMethod&gt;&gt;methodNode (in category &#39;*OMeta2-Preload&#39;) -----<br>
&gt; methodNode<br>
&gt;         &quot;Return the parse tree that represents self. If parsing fails, decompile the method.&quot;<br>
&gt;         | aClass source |<br>
&gt;         aClass := self methodClass.<br>
&gt;         source := self<br>
&gt;                                 getSourceFor: (self selector ifNil: [self defaultSelector])<br>
&gt;                                 in: aClass.<br>
&gt;         ^[(aClass parserClass new<br>
&gt;                 encoderClass: (self isBlueBookCompiled<br>
&gt;                                                 ifTrue: [EncoderForV3]<br>
&gt;                                                 ifFalse: [EncoderForV3PlusClosures]);<br>
&gt;                 parse: source class: aClass)<br>
&gt;                         sourceText: source;<br>
&gt;                         yourself]<br>
&gt;                 on: SyntaxErrorNotification<br>
&gt;                 do: [:ex | ex return: self decompile].!<br>
&gt;<br>
&gt; Exception subclass: #OM2Fail<br>
&gt;         instanceVariableNames: &#39;&#39;<br>
&gt;         classVariableNames: &#39;&#39;<br>
&gt;         poolDictionaries: &#39;&#39;<br>
&gt;         category: &#39;OMeta2&#39;!<br>
&gt;</div></div></blockquote><div> </div><div><span class="Apple-style-span" style="color:rgb(80,0,80)">...</span></div></div><div><br></div>-- <br>Aloha,<div>Eliot</div>
</div></div>