Re: Object browser, Smalltalk like Ruby environment

Thanks for the feedback! Another issue:

I want to dump the state of the Ruby interpreter and load it later. Just
like the image file used in Smalltalk.

I searched RAA and found:
http://raa.ruby-lang.org/cat.rhtml?category_major=Library;category_minor=Marshal
But was not satisfied.

Any clue or idea?

Austin

btw, have a look here :slight_smile:

http://miner.rubyforge.org/

and no, you can’t dump the whole state, at least not that i have heard
of…

Can Miner work on Windows, it appears to use KDE…

Michael F. wrote:

btw, have a look here :slight_smile:

http://miner.rubyforge.org/

and no, you can’t dump the whole state, at least not that i have heard
of…

On Apr 28, 2006, at 11:39 PM, Wang Austin-W22255 wrote:

I searched RAA and found:
http://raa.ruby-lang.org/cat.rhtml?
category_major=Library;category_minor=Marshal
But was not satisfied.

Any clue or idea?

Well you could try Marshal.dump(ObjectSpace), but I wouldn’t. As cool
as Ruby is and as cool as Smalltalk is, Ruby != Smalltalk. Ruby is
not based on images, it’s source-file oriented like perl or python,
and was never really meant to be dumped into an image form. Of course
you could probably write an implementation of ruby based on images
instead of source files.