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.

Publishing the program

4 posts · 3254 views

Hello, I have read though a Common Lisp book called 'Practical Common Lisp', and it has taught me a lot about how to use Common Lisp, but I still am curious as to how you actually produce an executable for a lisp program for distribution. I am using the 'lispbox' (Lisp in a Box) IDE (a package of Emacs, SLIME and the Clozure implementation). Can anybody help me?

Re: Publishing the program

As far as I know they are published in ASDF systems. Some LISP systems like SBCL lets you make an executable image of the current machine status. So, check if your REPL has some kind of compiler.

Re: Publishing the program

I would guess this is implementation dependent.
In SBCL I have created an executable, but in reality it is actually the SBCL-executable with whatever you added.
If you want a virgin CL with your code compiled and run and shut down at the end of execution (like some Scheme compilers do) you might want to look at ECL.
I'm the author of two useless languages that uses BF as target machine.
Currently I'm planning a Scheme compiler :p

Re: Publishing the program

Yes, it's not incorporated in the standard.
When I was engaged in this, I found this nice thing, albeit it's only a proof of concept as it's said on the site.
cl-2dsyntax is my attempt to create a Python-like reader. My mirror of CLHS (and the dark themed version). Temporary mirrors of aferomentioned: CLHS and a dark version.