5 examples for sbcl

{{ score }}
  # Start the sbcl REPL
sbcl
        
{{ score }}
  # Run a lisp script
sbcl --script hello.lisp
        
{{ score }}
  # Load one or more lisp files before starting REPL
sbcl --load file1.lisp --load file2.lisp

# Can also be used with --eval
sbcl --load file1.lisp --eval '(hello)'
        
{{ score }}
  # evaluate expression before starting REPL
sbcl --eval '(format t "Hello World~%")'
        
{{ score }}
  # Quit after loading and evalling command line options
sbcl --noinform --quit --load file1.lisp --eval '(main)'