One McCLIM frame
define-application-frame with an application pane for the message and a push button that calls frame-exit. That's the whole GUI.
Common Lisp · McCLIM · SBCL
The smallest useful McCLIM application: a window that says Hello, world!
with a Quit button. Pass -nw and it prints the greeting to the
terminal instead — handy for scripts and smoke tests.
define-application-frame with an application pane for the message and a push button that calls frame-exit. That's the whole GUI.
-nw, --nw or --no-window skips McCLIM and prints Hello, world! to stdout. No display required.
sb-ext:save-lisp-and-die bakes McCLIM and the Lisp runtime into one ~22 MB binary. No SBCL, Quicklisp or lib/ tree needed on the target machine.
Task 1 checks for SBCL and a downloader, bootstraps Quicklisp into ~/quicklisp, and loads McCLIM through ql:quickload.
The setup script knows apt, dnf and pacman on Linux, Homebrew on macOS, and Chocolatey, Scoop or winget under a POSIX shell on Windows.
./ask.sh offers Setup, Build and Run. Each task is a small script in ask.d/, so it's easy to see what happens.
main.lisp is about 40 lines: load Quicklisp, quickload McCLIM, define the frame, parse the command line, run either mode.
A single Build Control workflow drives the Linux build: install SBCL/McCLIM, compile, smoke-test -nw, and upload the binary.
# start the McCLIM window
sbcl --script main.lisp
# or use the task runner
./ask.sh
# built executable, no window
./dist/mcclim/mcclim -nw
Without a flag, the executable opens the window. With a no-window flag it prints to the terminal and exits.
git clone https://github.com/veto8/mcclim.git
cd mcclim
./ask.sh # task 1: install SBCL + Quicklisp + McCLIM
# task 2: build bin/ and dist/mcclim/
# task 3: run main.lisp
Full details: README.md.