<br><br><div class="gmail_quote">On Tue, Apr 19, 2011 at 7:32 PM, Mariano Martinez Peck <span dir="ltr">&lt;<a href="mailto:marianopeck@gmail.com">marianopeck@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi guys. Since several months, I wanted to create a little browser for learning VM and related stuff. I never did anything because I was lazy. Last week, I took Glamour and without knowing almost anything about it, in less than 3 hours, I come up with what I want to share with you. Basically, I only have the browsers for the moment. My knowledge is very limited in the Slang to C translator, or machine code simulation. The only thing I need is CompiledMethod &gt;&gt; #asCString and #asMachineCode. Eliot told me he was going to provide me such stuff for machine code, and hopefully Dave can help me with the C code. <br>


<br>Having said that, I would like to share what I have in mind:  there are 3 browsers: <br><br>1) VMBrowserSlang:  shows only packages and classes which are written in slang. When you select a method, you have 2 panels: smalltalk code and C translated code.<br>

Screenshot:<a href="http://img857.imageshack.us/i/vmbrowserslang.png/" target="_blank"> http://img857.imageshack.us/i/vmbrowserslang.png/</a><br><br>
2) VMBrowserMethods:  shows all packages and classes of the system and for every method, you have 3 panels: smalltalk code, bytecodes and machine code (using the simple mapping)<br>Screenshot: <a href="http://img862.imageshack.us/i/vmbrowsermethods.png/" target="_blank">http://img862.imageshack.us/i/vmbrowsermethods.png/</a><br>

<br>3) VMBrowserMappings: this is for you Eliot!!  Basically, it  shows all packages and classes of the system and for every method, you 
have 5 panels: smalltalk code and one panel per strategy to map to machine code (simple cogit, sista, etc). <br>Screenshot:  <a href="http://img4.imageshack.us/f/vmbrowsermappings.png/" target="_blank">http://img4.imageshack.us/f/vmbrowsermappings.png/</a><br>

<br>As soon as someone can provide me the #asMachineCode and #asCString for Cog, I release it. <br>
<br>What do you think ?<br><font color="#888888"><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>
</font></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>