pharo-vm
pharo-vm copied to clipboard
Instance of FakeStdinStream did not understand #stream
Trying to simulate the VM both in Pharo 11 and Pharo 12 with this script:
| options stackInterpreterSimulator |
VMStackPages initialize.
options := {
#ObjectMemory -> #Spur64BitCoMemoryManager.
#BytesPerWord -> 8
} asDictionary.
stackInterpreterSimulator := StackInterpreterSimulator newWithOptions: options.
stackInterpreterSimulator openOn: Smalltalk imagePath extraMemory: 100000.
stackInterpreterSimulator run.
Produces the following exception:
A simple fix would be to answer ^ self in a new FakeStdinStream>>stream method.