Bilingual Shell/Lisp Program
This is a bilingual shell/lisp program that produces a program that's both executable as a script and loadable as a regular Common Lisp file, where (main) is only called when executed and not when loaded.
Note: Tested in zsh and in bash. It might not work in every shell.
Edit: replaced hardcoded