about lispbox. how to run .lisp file by using it?
I download lispbox for lisp IDE on Mac OS. I can run lisp command in lispbox at interactive mod开发者_Go百科e. My question is how can I run .lisp code by using it? Thank you.
You can use the Common Lisp load function in interactive mode: (load "pathname.lisp")
Alternatively, see if you can use the shortcut Ctrl-c Ctrl-l
in the editor to load the Lisp file.
Also, you can run files via command line using Emacs Lisp or Clozure CL, included in LispBox.
I'm using LispBox 0.7 on Windows 7, 64 bits. The commands are:
emacs-23.2\bin\emacs.exe --script hello.lisp
or
ccl-1.6-windowsx86\wx86cl64.exe --load hello.lisp
The second command needs (quit)
at the end of the program, though.
精彩评论