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
On Sat, May 26, 2012 at 7:45 AM, Bernardo Ezequiel Contreras < vonbecmann@gmail.com> 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?
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-...
Thanks
-- Bernardo E.C.
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.
As someone who is struggling to learn how to create custom asembler code using NativeBoost, the ability to compile short C routines directly in Squeak would be amazing.
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 lewis@mail.msen.comwrote:
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
vonbecmann wrote
I've loaded the package VMMaker and the SlangBrowser but i have no idea how to open the SlangBrowser.
If you follow http://www.squeakvm.org/unix/devel.html , SlangBrowser is included. Only "VMMaker initializeBrowserSupport" is necessary.
-- View this message in context: http://forum.world.st/open-SlangBrowser-tp4631896p4632035.html Sent from the Squeak VM mailing list archive at Nabble.com.
vm-dev@lists.squeakfoundation.org