Re: compiling a Lisp source to exe



In article
<f3ef0e5d-9aa5-4e4d-8734-6e90729c4ada@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
cartercc <cartercc@xxxxxxxxx> wrote:

On Sep 29, 2:43 pm, Rainer Joswig <jos...@xxxxxxx> wrote:
Which Lisp implementation are you using?

On my Windows machine, I am using Lisp in a Box, with clisp 2.33. On
my Linux machine, I am using cmucl dated 2008-04-08.

Well as I said, read the fine manuals.

For CLISP for example:

http://clisp.cons.org/impnotes/image.html

see the :executable option to the function
EXT:SAVEINITMEM .

CMUCL:

http://common-lisp.net/project/cmucl/doc/cmu-user/extensions.html#toc47

See the :executable option to the function extensions:save-lisp .

When you use COMPILE-FILE, you get a piece of compiled Lisp code.
The Lisp code is not portable between different Lisp implementations,
but you can move the compiled code (the 'fasl' file) to another machine,
start the Lisp implementation there and load the compiled file.
So, when you have, say, LispWorks on both Windows machines
you can compile the file on one machine, copy the file to the
other machine and LOAD the file there into LispWorks.
If you have function calls in the file, they will be executed
upon loading - you can also call the defined functions
after loading the compiled file.

I looked at LispWorks now, and almost fell out of my chair at the
prices. I am a student and frankly cannot afford this product. Does
the Personal Edition create exe files? The blurb says that it does not
support application delivery?

Correct, the personal edition does not support application delivery.

I don't need an IDE. I do just fine with Emacs.

Thanks, CC.

--
http://lispm.dyndns.org/
.



Relevant Pages

  • Re: compiling a Lisp source to exe
    ... On my Windows machine, I am using Lisp in a Box, with clisp 2.33. ... The Lisp code is not portable between different Lisp implementations, ... start the Lisp implementation there and load the compiled file. ...
    (comp.lang.lisp)
  • Clisp executable solution -- Feedback requested.
    ... So, I'm going to this programming contest at the University of New Orleans this weekend, and my team wishes to use lisp. ... tonight I wrote a small program to automate making deliverable clisp systems. ... "Copies the lisp.exe to the dst directory" ...
    (comp.lang.lisp)
  • Re: Learning lisp
    ... and in the spec to find how I save my session. ... If there is a way to tell the current clisp to dump all definitions to ... to tell Lisp to store commands to a file. ... This is SBCL 1.0.8.9, an implementation of ANSI Common Lisp. ...
    (comp.lang.lisp)
  • Re: bc vs calc (was bc precision)
    ... The CLISP implementation is good for interactive use, ... Greenspun's Tenth Rule of Programming hard at work. ... In Lisp, the square root of -1 is properly a complex number. ...
    (comp.unix.shell)
  • Re: Learning lisp
    ... If there is a way to tell the current clisp to dump all definitions to ... The spec doesn't require Lisp to remember everything you type at the prompt -- that would place unreasonable demands on memory. ... This is SBCL 1.0.8.9, an implementation of ANSI Common Lisp. ...
    (comp.lang.lisp)