[Vm-dev] VM Maker: VMMaker.oscog-eem.80.mcz

squeak-dev-noreply at lists.squeakfoundation.org squeak-dev-noreply at lists.squeakfoundation.org
Thu Jun 23 02:45:12 UTC 2011


Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://www.squeaksource.com/VMMaker/VMMaker.oscog-eem.80.mcz

==================== Summary ====================

Name: VMMaker.oscog-eem.80
Author: eem
Time: 22 June 2011, 5:27:55 am
UUID: 0f62b9a2-0aef-4d39-8077-32f53b6e0e39
Ancestors: VMMaker.oscog-eem.79

Initial Newspeak support in StackInterpreter.

Add support for conditional compilation so that CoInterpreter can
be generated optionally with Newspeak support.  Can't do this with
inheritance, but could do it with mixins, hence for now this hack.
FooInterpreter class>initialize => FooInterpreter class>initializeWithOptions: aDictionary
and initializeMiscConstants => initializeMiscConstantsWith: optionsDictionary.
VMMaker options: pairs provides access to these options, hence e.g.
	VMMaker
		generate: CoInterpreter
		and: StackToRegisterMappingCogit
		with: #(NewspeakVM true IMMUTABILITY false)
		to: ...
and
	CoInterpreter initializeWithOptions: (Dictionary newFromPairs: #(NewspeakVM true)).
	CogVMSimulator new openAsMorph; run
Use e.g. self cppIf: NewspeakVM if... and self cppIf: COGMTVM if... as appropriate.

Add Newspeak bytecodes to StackInterpreter.

Refactor FilePlugin simulation into FilePlugin to eliminate duplication of
 code in various interpreter simulator subclasses.

Provide strncpy strcpy and strcmp implementations in VMClass for simulation.



More information about the Vm-dev mailing list