Forrest logo
back to the sbcl tool

sbcl:tldr:4435a

sbcl: Execute a Lisp script.
$ sbcl --script ${path-to-script-lisp}
try on your machine

This command is used to run a Common Lisp script using SBCL (Steel Bank Common Lisp) as the interpreter. Let's break down the command:

  • sbcl: This is the command to execute the SBCL interpreter.
  • --script: This option specifies that the following argument should be treated as a script rather than an interactive session.
  • ${path-to-script-lisp}: This is the path to the Common Lisp script file that you want to run. You need to replace ${path-to-script-lisp} with the actual path to your script file.

When you run this command with the correct path to your script file, SBCL will execute the script and produce the output or perform the actions defined in the script.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the sbcl tool