我一直在尝试使用 SublimeREPL 来运行 Scheme 的交互式解释器,但我不断收到错误消息“OSError(2, 'No such file or directory')”。我知道这可能是 Main.sublime-menu 中的文件路径问题,但我似乎无法弄清楚。不知道我是否遗漏了一些明显的东西或什么。任何帮助,将不胜感激!这是我在 SublimeREPL/config/Scheme 中的配置文件(安装后未更改):
[
{
"id": "tools",
"children":
[{
"caption": "SublimeREPL",
"mnemonic": "r",
"id": "SublimeREPL",
"children":
[
{"caption": "Scheme",
"id": "Scheme",
"children":[
{"command": "repl_open",
"caption": "Scheme",
"id": "repl_scheme",
"mnemonic": "r",
"args": {
"type": "subprocess",
"encoding": "utf8",
"external_id": "scheme",
"cmd": {"linux": ["scheme"],
"osx": ["scheme"],
"windows": ["scheme"]},
"soft_quit": "\nexit\n",
"cwd": "$folder",
"cmd_postfix": "\n",
"extend_env": {"INSIDE_EMACS": "1"},
"syntax": "Packages/sublime-scheme-syntax/Scheme.tmLanguage"
}
},
{"command": "repl_open",
"caption": "Gauche",
"id": "repl_gauche",
"mnemonic": "r",
"args": {
"type": "subprocess",
"encoding": "utf8",
"external_id": "gauche",
"cmd": {"linux": ["gosh", "-i"],
"osx": ["gosh", "-i"],
"windows": ["gosh", "-i"]},
"soft_quit": "\n(exit)\n",
"cwd": "$folder",
"cmd_postfix": "\n",
"extend_env": {"INSIDE_EMACS": "1"},
"syntax": "Packages/Gauche/Gauche.tmLanguage"
}
},
{"command": "repl_open",
"caption": "Petite Chez Scheme",
"id": "repl_petite",
"mnemonic": "r",
"args": {
"type": "subprocess",
"encoding": "utf8",
"external_id": "petite",
"cmd": {"linux": ["petite"],
"osx": ["petite"],
"windows": ["petite"]},
"soft_quit": "\n(exit)\n",
"cwd": "$folder",
"cmd_postfix": "\n",
"extend_env": {"INSIDE_EMACS": "1"},
"syntax": "Packages/sublime-scheme-syntax/Scheme.tmLanguage"
}
}
]}
]
}]
}
]