open SlangBrowser??

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

open SlangBrowser??

vonbecmann
 
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.
Reply | Threaded
Open this post in threaded view
|

Re: open SlangBrowser??

Mariano Martinez Peck
 


On Sat, May 26, 2012 at 7:45 AM, Bernardo Ezequiel Contreras <[hidden email]> 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-td3444396.html

 
 

Thanks

--
Bernardo E.C.




--
Mariano
http://marianopeck.wordpress.com

Reply | Threaded
Open this post in threaded view
|

Re: open SlangBrowser??

David T. Lewis
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

Reply | Threaded
Open this post in threaded view
|

Re: open SlangBrowser??

LawsonEnglish
 
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.


--
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

Reply | Threaded
Open this post in threaded view
|

Re: open SlangBrowser??

vonbecmann
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:

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




--
Bernardo E.C.
Reply | Threaded
Open this post in threaded view
|

Re: open SlangBrowser??

Sean P. DeNigris
Administrator
In reply to this post by vonbecmann
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.
Cheers,
Sean