Using Squeak from a shell
问题 Can I launch Squeak as a REPL (no GUI), where I can enter and evaluate Smalltalk expressions? I know the default image don't allow this. Is there any documentation on how to build a minimum image that can be accessed from a command-line shell? 回答1: Here is a (hackish) solution: First, you need OSProcess, so run this in a Workspace: Gofer new squeaksource:'OSProcess'; package:'OSProcess';load. Next, put this in the file repl.st: OSProcess thisOSProcess stdOut nextPutAll: 'Welcome to the simple