Hi, with some ugly hacks i tried to run InterpreterSimulator, I hope it will help you. Try this: Gofer new squeaksource: 'VMMaker'; package: 'VMMaker'; load. (skip warnings) Load patches. Regenerate image HazelTracer2 writeImage: 'hazel.image'. Open Transcript and run the simulator: (InterpreterSimulator new openOn: 'hazel.image') test for freshProcess with the code 4 factorial. [true] whileTrue: [Beeper primitiveBeep]. the is the result: 16r00022330 BlockClosure>>#newProcess 16r0023F7B0 HazelMissingVariable>>#doesNotUnderstand: 16r0023F80C Integer>>#factorial 16r0023F868 Integer>>#factorial 16r0023F8C4 Integer>>#factorial 16r0023F920 Integer>>#factorial 16r0023F97C Integer>>#factorial 16r0023F920 Integer>>#factorial 16r0023F8C4 Integer>>#factorial 16r0023F868 Integer>>#factorial 16r0023F80C Integer>>#factorial 16r0023F7B0 HazelMissingVariable>>#doesNotUnderstand:BEEP BEEP BEEP BEEP ... This shows how much we need working InterpreterSimulator for current images :-) It works quite long for Pharo-Kernel too and on Pharo-Core it interprets a few methods as well. Cheers, -- Pavel On Fri, Mar 4, 2011 at 2:07 PM, Benjamin <benjamin.vanryseghem.pharo@gmail.com> wrote:
For now, it just beeping to prove that the image is living :)
For now, there is no interaction because the VM should have new primitives to provides textual interactivity. But if you want to play, you can change the method HazelTracer2>>#freshProcess
Thanks for your feedback,
Ben
On Mar 4, 2011, at 1:57 PM, Alexandre Bergel wrote:
Hi Ben,
I tried, and it works. But what can I do then? When I run your image (by just double clicking on it), I have a sound without nothing appearing. Do you have some more information about Hazel? What can I do with the image? How can I use it?
Cheers, Alexandre
On 4 Mar 2011, at 09:51, Benjamin wrote:
Hello guys,
I finally success (with the help of Igor) to trace and create a new Smalltalk kernel based on Pharo. The new born weight 2.2Mb and includes 230 classes ;)
You can try it here:
Gofer new    squeaksource: 'PharoTaskForces';    package: 'SystemTracing';    load.
Gofer new    squeaksource: 'Seed';    package: 'Seed-HazelBuilder';    load.
HazelTracer2 writeImage: 'hazel.image'.
If you have an error in Point>>#printOn: , you can use this fix <FixPointPrintOn.1.cs>
I want to thank Igor again, because he helps me a lot :)
Ben
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel  http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.