Publishing the program

Discussion of Common Lisp

Publishing the program

Postby Owain » Thu Aug 30, 2012 6:48 am

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?
Posts: 7
Joined: Fri Aug 17, 2012 3:58 pm

Re: Publishing the program

Postby kmruiz » Fri Aug 31, 2012 1:39 am

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.
Posts: 7
Joined: Mon Aug 13, 2012 5:36 am
Location: Spain

Re: Publishing the program

Postby sylwester » Fri Aug 31, 2012 3:00 am

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
Posts: 97
Joined: Mon Jul 11, 2011 2:53 pm

Re: Publishing the program

Postby Goheeca » Fri Aug 31, 2012 4:03 am

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.
User avatar
Posts: 267
Joined: Thu May 10, 2012 12:54 pm

Return to Common Lisp

Who is online

Users browsing this forum: No registered users and 2 guests