LinuxCommandLibrary

roswell

TLDR

Install Roswell

$ ros setup
copy
Install Common Lisp implementation
$ ros install [sbcl]
copy
Run Lisp REPL
$ ros run
copy
Run script
$ ros [script.ros]
copy
Install Quicklisp system
$ ros install [system-name]
copy

SYNOPSIS

ros [options] [command] [args]

DESCRIPTION

Roswell is a Common Lisp implementation manager and launcher. It handles installation of different Lisp implementations, manages Quicklisp, and provides script execution.

PARAMETERS

setup

Initial setup.
install impl
Install implementation.
run
Start REPL.
use impl
Switch implementation.
list
List available.
init name
Create script template.

EXAMPLES

$ # Initial setup
ros setup

# Install SBCL
ros install sbcl

# Install CCL
ros install ccl-bin

# List installed
ros list installed

# Start REPL with specific impl
ros use sbcl
ros run

# Create script
ros init my-script

# Run script
ros my-script.ros

# Install library
ros install alexandria
copy

SCRIPT FORMAT

$ #!/bin/sh
#|-*- mode:lisp -*-|#
#|
exec ros -Q -- $0 "$@"
|#

(defun main (&rest args)
  (format t "Hello, World!~%"))
copy

CAVEATS

Requires initial setup. Downloads implementations. Scripts are portable across implementations.

HISTORY

Roswell was created by Masatoshi Sano to simplify Common Lisp development environment management.

SEE ALSO

sbcl(1), quicklisp(1), clisp(1)

Copied to clipboard