Hi all, I'm following the instructions on this page http://www.squeakvm.org/unix/devel.html ,
I've loaded the package VMMaker and the SlangBrowser but i have no idea how to open the SlangBrowser.
any ideas? Thanks Bernardo E.C. |
On Sat, May 26, 2012 at 7:45 AM, Bernardo Ezequiel Contreras <[hidden email]> wrote:
As far as I know, there is no browse, but instead a #asCString and #asCString: but I may be wrong. I tried to make it work the SlangBrowser because I was developing a VMLearningKit which has a browser to display source code, bytecodes and C code but I couldn't make it work because I couldn't find a way to the the associated translated C code of a method. Anyway, you can see: http://wiki.squeak.org/squeak/5916 http://forum.world.st/CRAZY-IDEA-quot-Breakpoints-quot-in-the-VM-from-SLANG-td3444396.html
-- Mariano http://marianopeck.wordpress.com |
In reply to this post by vonbecmann
On Sat, May 26, 2012 at 02:45:44AM -0300, Bernardo Ezequiel Contreras wrote: > > Hi all, > I'm following the instructions on this page > http://www.squeakvm.org/unix/devel.html , > I've loaded the package VMMaker and the SlangBrowser but i have no idea > how to open the SlangBrowser. > any ideas? > Hi Bernardo, SlangBrowser works only with Squeak and with trunk VMMaker. There is no separate browser to open, it just adds to the existing browser functionality. For a browser in Squeak, the square button on the right that says "source" is used to select various display options, such "source", "documentation", or "byteCodes". When SlangBrowser is loaded, you get additional options for "translate to C" and "translate inlined C". This allows you to browse the Smalltalk VM source, and view the C version of each method at any time exactly as it will appear in the generated sources. Dave |
On 5/26/12 7:00 AM, David T. Lewis wrote: > > On Sat, May 26, 2012 at 02:45:44AM -0300, Bernardo Ezequiel Contreras wrote: >> >> Hi all, >> I'm following the instructions on this page >> http://www.squeakvm.org/unix/devel.html , >> I've loaded the package VMMaker and the SlangBrowser but i have no idea >> how to open the SlangBrowser. >> any ideas? >> > Hi Bernardo, > > SlangBrowser works only with Squeak and with trunk VMMaker. > > There is no separate browser to open, it just adds to the existing browser > functionality. > > For a browser in Squeak, the square button on the right that says "source" > is used to select various display options, such "source", "documentation", > or "byteCodes". When SlangBrowser is loaded, you get additional options for > "translate to C" and "translate inlined C". This allows you to browse the > Smalltalk VM source, and view the C version of each method at any time > exactly as it will appear in the generated sources. using NativeBoost, the ability to compile short C routines directly in Squeak would be amazing. -- Squeak from the very start (introduction to Squeak and Pharo Smalltalk for the (almost) complete and compleate beginner). https://www.youtube.com/playlist?list=PL6601A198DF14788D&feature=view_all |
In reply to this post by David T. Lewis
Dave, I've done that but there's no option in the source button. i'll try again and give you the steps to reproduce Thanks. On Sat, May 26, 2012 at 11:00 AM, David T. Lewis <[hidden email]> wrote:
Bernardo E.C. |
Administrator
|
In reply to this post by vonbecmann
If you follow http://www.squeakvm.org/unix/devel.html , SlangBrowser is included. Only "VMMaker initializeBrowserSupport" is necessary.
Cheers,
Sean |
Free forum by Nabble | Edit this page |