Hi,
When using Windows, is it possible to compile my lisp programs into binaries so i could run the outside the 'lispbox'?
When using Windows, is it possible to compile my lisp programs into binaries so i could run the outside the 'lispbox'?
Discuss and learn Lisp programming of all dialects
This is a read-only archive of lispforum.com. The forum was locked to new users and posts and is preserved here as static HTML from a database snapshot taken on 2019-09-07.
11 posts · 3779 views
kapalua wrote:Hi,I do not know about 'lispbox', but ECL (http://ecls.sourceforge.net) can build standalone programs using Microsoft Visual C++ It may be a little bit more complicated to set up than other lisps (help is welcome in creating standalone environments) because it requires building ECL from sources, but it may be worth looking at it.
When using Windows, is it possible to compile my lisp programs into binaries so i could run the outside the 'lispbox'?
kapalua wrote:I get a feeling that compiling into binaries are not very common using lisp; is it usually just runned from inside the repl? What about the output the (compile-file) command creates, what can i do with that?COMPILE-FILE creates a so called FASL file, which is short for 'FASt Load', which allows loading precompiled code into an image. Those are usually not independently executable, since they depend on the Lisp runtime.
kapalua wrote:From this, my conclusion is that the lisp programs most of the time are runned from inside the lisp enviroment/repl and that if i don't have any very specific reason to create a standalone executable it's not worth doing/no need.This is exactly correct: think of it as being like a JVM that you can interact with while it's running.