Lisp Scripts That Just Work
Coalton or Common Lisp. No SBCL. No Quicklisp. Just run.
brew tap abacusnoir/smelter && brew install smelter
curl -fsSL https://github.com/abacusnoir/smelter/releases/latest/download/install.sh | bash
No SBCL install. No Quicklisp config. One command and you're running Lisp.
Coalton for type-safe scripts. Common Lisp for everything else. Same binary.
Ships with JSON, HTTP, filesystem, and process utilities. Real scripting, not a toy.
#!/usr/bin/env smt run
(declare fibonacci (Integer -> Integer))
(define (fibonacci n)
(match n
(0 0)
(1 1)
(n (+ (fibonacci (- n 1))
(fibonacci (- n 2))))))
(define main
(println (show (fibonacci 10))))
#!/usr/bin/env smt-cl
(defun fibonacci (n)
(if (<= n 1)
n
(+ (fibonacci (- n 1))
(fibonacci (- n 2)))))
(format t "~A~%" (fibonacci 10))
CL mode runs locally. Coalton can be prototyped at coalton.app