Lisp Interpreter (4.2)
Last updated at 12:18 am UTC on 13 December 2011
This is how you run a Lisp interpreter in Squeak 4.2
by Stephen Smith
From the apps menu select SqueakMap Catalog - this will open a SqueakMap Package Loader
- Make sure you're connected to the Internet
- Click the Update button (1) and after the progress dialogs finish you should see a few new packages ready to download - one of them should be LispKit
- Select it (2) and read the Description (3)
With LispKit still selected, click the Install button. This will download the latest version (89 at the time of this writing).
Once the install is complete, a README window will pop up with examples of how to run a Lisp interpreter.
Type this in a workspace and DoIt (Cmd-D) (or simply highlight it in the README window and DoIt):
A green CLisp window like this will appear:
Try out some Lisp code:
- The top half of the window is like a lisp file editor - create your functions here
- Run any functions you create in the REPL in the lower half of the window
Note: after typing your functions in the top half of the window you need to select them and do a Cmd-S (save) for the function to be loaded in the REPL.