Hi! I have an idea for SBCL's script mode:

1 Always ignore the shebang line in lisp file when load a lisp source file.
So we can load a lisp script which can be executed at the same time.

2 Add a new keyword to the *features* when sbcl at script mode
Such as :script.
So we can write only one lisp script which can both be loaded and executable.
For example:
#+script
(main)
We can run it at script mode and load it at repl and then run it by execute the start function like before.

If these features add to sbcl, wo can write tiny tools by cl, so wan can launch a cl service by a lisp script itself, not an extra shell script. Further more, we can load the script and start the service by hand.

Isn't it a interesting idea?



--
Follow your dream!