At this point lispdev works only with sbcl 1.0.19 and included slime. The design is modular so it should not be too hard to change to other lisp implementations and newer versions of slime. This will be done before releasing lispdev to users.
Setting up the projects
- Make sure that you have Java 1.6 installed and that your Eclipse is running under Java 1.6.
- Clone the repository
- Import all projects from the repository into an Eclipse's workspace
- Import java formatting file sk-java-format.xml file (available in the repository) to make formatting to conform to the style that I have used
- Unpack lisp-sbcl1.0.19-win32.zip file in any place you want. The file contains the following folders: lisp-extensions, sbcl and slime. If your development system is not Win32, you will need to obtain sbcl 1.0.19 for you system and put it into any folder. You might still have problems due to incompatibilities of your system with included slime.
- Create Run Configuration by double clicking Eclipse Application in "Run Configurations" wizard and call it lispdev.
- Start lispdev Run Configuration.
- In new Eclipse window, switch to Lisp perspective.
- Go to Run Configurations and create new Local Lisp configuration and call it sbcl:
- Make sure that on main tab you specify complete path of lisp executable and folder where swank-loader.lisp is located. Set port to 4005 and make sure that Explicitly start repl thread is unchecked.
- On Environment tab create new environment variable SBCL_HOME and set its value to folder where lisp executable is located.
- Select Apply and Close.
- Next use new project wizard to create new lisp project. Uncheck "Use lisp-unit testing framework", since it is not included with lispdev at this moment.
- Once the project is created, select it and from context menu select "Load In -> sbcl". This should start lisp, load swank, connect lispdev to swank, start REPL, and, finally, load the project.
How the code is structured