Habibullah’s posterous

« Back to blog
September 25, 2008

Generating mlisp.exe in Allegro Common Lisp Trial edition

When you start Allegro Common Lisp's Trial version you are forced to deal with Lisp from within an IDE. Sometimes you might want the REPL prompt to load up faster and be free from the GUI clutter. For that you need to run mlisp.exe or if you don't want case sensitivity, then the ANSI Lisp image alisp.exe (on Windows ofcourse).

Unfortunately, these are available only in the paid version of Allegro Common Lisp and have to be generated.

This is how:
1) Start Allegro's IDE or allegro-express.exe

2) In the "Debug Window" listener, copy paste the following Lisp code:
;; mlisp:
   (progn
      (build-lisp-image "sys:mlisp.dxl" :case-mode
                                        :case-sensitive-lower
                                        :include-ide nil
                                        :restart-app-function nil
                                        :restart-init-function nil)
      (when (probe-file "sys:mlisp.exe") (delete-file "sys:mlisp.exe"))
      (sys:copy-file "sys:allegro-express.exe" "sys:mlisp.exe"))   

3) This will generate the mlisp.exe file that you can use. To generate alisp.exe replace mlisp with alisp in the above code.

I've taken the above code from the readme.txt file available with Allegro CL Trial and simplified it a bit for the newbies.

Happy Lisping!



Comments (0)
Leave a comment...
 
To leave a comment on this posterous, please login.
Click here to login or sign up