2

I download lispbox for lisp IDE on Mac OS. I can run lisp command in lispbox at interactive mode. My question is how can I run .lisp code by using it? Thank you.

2 Answers 2

5

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.

Sign up to request clarification or add additional context in comments.

Comments

0

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.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.