Re: compiling a Lisp source to exe



On Sep 29, 3:28 pm, Rainer Joswig <jos...@xxxxxxx> wrote:
Well as I said, read the fine manuals.

As always very good advice, and as often happens, not done until
someone says RTFM. Okay, I did (and as a matter of fact had previously
printed the CMUCL manual).

I spent more than an hour last night trying to make it work, learned a
few things, but was unable to accomplish the task I set out. I just
need to get more familiar with these tools. I'm satisfied that this
can be done, and maybe in six months or so I will focus and getting it
done.


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 .

My three competencies are Perl, Java, and C++. In the case of Perl,
all the machines I am responsible for have Perl. Ditto Java for the
JRE. As to C++, the compilers generate exe files directly.

I would like to achieve some competency in Lisp but Lisps do not
typically get installed on machines and do not have a 'LRE' (or do
they?) Therefore, the only easy way I can think of to run a script
written in Lisp is to compile and distribute it as an exe.

Thanks for your help, CC.
.



Relevant Pages

  • Re: compiling a Lisp source to exe
    ... My three competencies are Perl, Java, and C++. ... the compilers generate exe files directly. ... I would like to achieve some competency in Lisp but Lisps do not ... You can download and install them on Windows too. ...
    (comp.lang.lisp)
  • Re: Why I never got into Lisp
    ... solutions in languages like Perl. ... and what you tried in Lisp, and how Lisp mapped better, for you. ... While this can be done to some extent in any language, ... liked the fact that Ruby, like lisp, seems to have sensible defaults ...
    (comp.lang.lisp)
  • Re: Making Lisp popular - can it be done?
    ... native code compilers. ... Lisp conference/meeting. ... My Clojure program took around 105 msecs and the Java code did the job ... I would like to run my tests in that JVM then. ...
    (comp.lang.lisp)
  • Re: My Perl is starting to look like Lisp
    ... In perl, its not so simple - some users exploit hidden ... > the fact that there can be as many programming styles as there are ... Paul Graham writes his code one way in ACL and On Lisp. ... very easy to make mistakes because the 'behavior' of the language can ...
    (comp.lang.lisp)
  • Re: Bootstrapping ANSI CL
    ... compilers, and someone had to do the job by hand - in retrospect, what ... machine platform, and knowledge of Lisp - any cross compilation effort ... It is not a likely scenario but interesting ...
    (comp.lang.lisp)