且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在 Squeak 中加载 VMMaker?

更新时间:2023-01-31 22:31:32

不幸的是,Metacello 配置直到现在才被以 Pharo 为中心的用户创建和使用...
您最终可以更正配置中的 Squeak 分支,但这并不容易从那里启动.

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.

如果您对 oscog VM 分支感兴趣,那么在这个 svn 存储库中分发了一个带有预加载包的预构建 4.3 映像

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

在 image 子目录下,打开 CogTrunk43.image,有一个工作区解释包是如何加载到 image 中的.

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

如果您对经典解释器感兴趣,那么加载它的方法是使用更新 MCM:

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

  1. 打开蒙蒂塞洛浏览器
  2. 添加 VMMaker 存储库
    (MCHttpRepository位置:'http://source.squeak.org/trunk'用户:'吱吱'密码:'吱吱')
  3. 选择并打开 VMMaker 存储库
  4. 在左侧窗格中,选择更新"(底部项目)
  5. 在右侧窗格中选择顶部项目 (update-dtl.12.mcm)
  6. 选择浏览"按钮
  7. 您会看到显示的软件包列表,点击安装"按钮

更新配置虽然晚了几个版本,不知道是否还在维护,***也去Squeak Virtual Machine Development Discussion"询问

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 我认为这个神奇的咒语可以取代上面所有面向 GUI 的操作:

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

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