Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>See the Clozure Common Lisp documentation under <a href="http://ccl.clozure.com/manual/chapter4.9.html#Saving-Applications" rel="nofollow noreferrer">Saving Applications</a></p> <p><strong>Compiling and Loading Lisp files</strong></p> <p>You can compile a file named <code>/foo/bar.lisp</code> by calling</p> <pre><code> (compile-file "/foo/bar.lisp") </code></pre> <p>This will create a <em>fasl</em> (FASt Load) file, which contains native code. </p> <p>You can load the compiled file, the fasl file, with the function <code>LOAD</code>. <code>LOAD</code> and <code>COMPILE-FILE</code> are standard Common Lisp functions.</p> <p><strong>Creating applications</strong></p> <p>A few definitions:</p> <ul> <li><em>CCL kernel</em>: the part of CCL which provides low-level runtimes services like memory management.</li> <li><em>Image</em>: a saved dump of the Lisp heap</li> <li><em>Application</em>: CCL kernel + image. This can be in one file.</li> </ul> <p>You can save an application by calling a CCL specific function:</p> <pre><code>(save-application "/foo/bar-image" :toplevel-function #'main) </code></pre> <p>This will save an image, that you can run using the CCL kernel from a command shell:</p> <pre><code>ccl -I /foo/bar-image </code></pre> <p>To save an executable that includes the kernel use this from Lisp:</p> <pre><code>(save-application "/foo/bar-app" :toplevel-function #'main :prepend-kernel t) </code></pre> <p>You can call this executable as usual with <code>/foo/bar-app</code> from a command shell.</p> <p>In Clozure Common Lisp you can check </p> <pre><code>*command-line-argument-list* </code></pre> <p>for the list of provided command line arguments.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload