title: How to execute a common lisp text file (clozure cl)?
body: <p>I am a beginner at Lisp, having only used DrRacket for some dabbling in Racket/Scheme. I have had much trouble figuring out how to run a .lisp file with Clozure CL for Windows. I tried running a .lisp file in SBCL on Ubuntu (running on virtualbox) without success as well.</p>
  
  <p>I should mention that I've looked into the related questions about running files but I wasn't able to see any direct solution. Some are using .bat files, some are "creating applications" with Clozure CL's image (or something along those lines).</p>
  
  <p>For SBCL in Ubuntu, I've tried:</p>
  
  <pre><code>sbcl lisptest.lisp       \ The python/forth way.
  
  (load "lisptest.lisp")
  
  (load lisptest.lisp)
  
  (--load lisptest.lisp)
  
  :cd C:\Temp
  (:cd C:\Temp)
  </code></pre>
  
  <p>and more.
  I also tried to run it from notepad++:</p>
  
  <pre><code>cmd /k C:\Temp\ccl-1.11-windows\ccl\wx86cl64.exe "$(FULL_CURRENT_PATH)"
  </code></pre>
  
  <p>which is how I usually execute python files, but this method hasn't been successful.</p>
  
  <p>**I will definitely start learning to use Emacs and Slime (Emacs is the obvious choice for lisp). But for the sake of knowledge, I would appreciate some tips on the alternative, basic-text-editor way of getting something trivial like "hello world" to print without my typing it explicity into the REPL and instead interpreting (or compiling) a text file with the instruction.</p>
  
  <p>Thanks for your help.</p>