<br><br><div class="gmail_quote">On Tue, Apr 12, 2011 at 2:04 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 class="im"><br>
On Tue, Apr 12, 2011 at 01:40:22PM +0200, Mariano Martinez Peck wrote:<br>
&gt;<br>
&gt; So...I need to go to C, and &quot;translate in my mind&quot; what that part of SLANG<br>
&gt; should look like in C, and search it in the C code. XCode is FAAAR to slow<br>
&gt; to browe the interp.c . Morever, with inlined methods it is even more<br>
&gt; difficult to find...<br>
<br>
</div>XCode might be slow, but Squeak is fast :) Have a look at SlangBrowser<br>
for this. It has not been updated for either Pharo or oscog, but if<br>
anyone is interested maybe we can get that working too. Source is in<br>
the SqueakSource VMMaker project, and info at:<br>
<br>
  <a href="http://wiki.squeak.org/squeak/5916" target="_blank">http://wiki.squeak.org/squeak/5916</a><br></blockquote><div><br><br>Thanks Dave. I wasn&#39;t aware of what SlangBrowser was...I always saw it in the VMMaker repo but I didn&#39;t know what it was until today. Cool project. I really like the idea. <br>
It would be awesome to extendt it so that it can not only supports ObjectMemory/Interpreter/Plugins  but also CompiledMethods of those classes :)<br><br>For example,  (Interpreter &gt;&gt;#lookupInMethodCacheSel:class:)  asCString    that would be lovely :)<br>
<br>Just for the record (if you want to include it in the wiki), in order to make it work (the asCString) I needed to first load MemoryAccess because it is used in VMMaker class &gt;&gt;cCodeGenerator: aClass inCache: cache inlined: doInlining<br>
<br>You can...or document that on the wiki or maybe add a Smalltalk at:   ?<br><br>Anyway, how much effort do you think it could be to adapt at least the asCString to the new Cog versions ?    because this is a nice feature for when you are learning <br>
<br>Thanks<br></div></div><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>