<br><br><div class="gmail_quote">On Sun, Apr 17, 2011 at 4:30 PM, David T. Lewis <span dir="ltr">&lt;<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5"><br>
On Sun, Apr 17, 2011 at 03:37:35PM +0200, Mariano Martinez Peck wrote:<br>
&gt;<br>
&gt; On Sun, Apr 17, 2011 at 3:22 PM, David T. Lewis &lt;<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; On Sun, Apr 17, 2011 at 12:29:21AM +0200, Mariano Martinez Peck wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; On Wed, Apr 13, 2011 at 2:48 AM, David T. Lewis &lt;<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>&gt;<br>
&gt; &gt; wrote:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Try this:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;  Transcript<br>
&gt; &gt; &gt; &gt;    open;<br>
&gt; &gt; &gt; &gt;    clear;<br>
&gt; &gt; &gt; &gt;    show: (Interpreter asCString: #lookupInMethodCacheSel:class:)<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Thanks Dave. I tried but I only got this in the Transcript:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; /* Simulator subclasses with method overrides should not be translated.<br>
&gt; &gt; */<br>
&gt; &gt; &gt; /* ObjectMemory class&gt;&gt;initializeConstants */<br>
&gt; &gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Sorry I was not clear, but SlangBrowser does not yet work in the oscog<br>
&gt; &gt; branch.<br>
&gt; &gt;<br>
&gt;<br>
&gt; Now, I was trying in a Interpreter VM, not Cog.<br>
<br>
</div></div>Sorry, I misread your message. The error message from SlangBrowser is<br>
misleading. The #initializeConstants method is not translated to C because<br>
only instance side methods are translated.<br>
<br></blockquote><div><br>Maybe I was not clear. Want I meant is that I *ONLY* see that in the Transcript. NOthing else. I didn&#39;t see the C code of  #lookupInMethodCacheSel:class:<blockquote class="gmail_quote"></blockquote>
 </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
The class side initializers set the values of various class variables<br>
that will appear as C macros in the generated source. When running the<br>
interpreter simulator, the class variables are just class variables.<br>
In the C code, they are #define macros that are used throughout the<br>
generated C code.<br>
<br></blockquote><div><br>Interesting :)<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Dave<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>