How to load VMMaker in Squeak?

混江龙づ霸主 提交于 2019-12-04 09:04:24

Unfortunately, the Metacello configuration has been created and used only by Pharo-centric users until now...
You could eventually correct the Squeak branch in the configuration, but that ain't going to be easy to boot up from there.

If you are interested in oscog VM branch, then there is one prebuilt 4.3 image with pre-loaded packages distributed in this svn repository

http://squeakvm.org/svn/squeak/branches/Cog

Look under image subdirectory, open the CogTrunk43.image, there is a workspace explaining how the packages were loaded in the image.

If you are interested in classical Interpreter, then the way to load it was by using the update MCM:

  1. Open a Monticello browser
  2. Add the VMMaker repository
    (MCHttpRepository location: 'http://source.squeak.org/trunk' user: 'squeak' password: 'squeak')
  3. Select and open the VMMaker repository
  4. On the left pane, select 'update' (bottom item)
  5. On the right pane select the top item (update-dtl.12.mcm)
  6. Select 'browse' button
  7. You get a list of packages displayed, click on 'Install' button

The update configuration is a few versions late though, not sure if it is still maintained, the best is also to ask on "Squeak Virtual Machine Development Discussion"

EDIT I think that this magical incantation can replace all GUI oriented operations above:

MCMcmUpdater updateFromRepositories: {'http://source.squeak.org/VMMaker'}.

This is thanks to David Lewis, in the CI scripts we use to test the Interpreter VM:

MCMcmUpdater updateFromRepositories: #('http://source.squeak.org/VMMaker').
(Smalltalk at: #VMMaker) initializeBrowserSupport. "activate Slang browsing"
user1951983

Or you can open a SqueakMap package browser and load the VMMaker 'head' release. This does the same thing as loading the update from Monticello as described above. Either way you will be getting the latest version of VMMaker and related packages.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!