rpav / ScriptL

Shell scripting made Lisp-like! Or, live-coding remote function calls for the shell.
73 stars 11 forks source link

Be nice to ASDF 3.3, declare dependencies #5

Closed fare closed 7 years ago

fare commented 7 years ago

ASDF 3.3 wants all dependencies declared, and will complain about calling operate in a regular source file. So don't do it anymore.

PS: have you tried cl-launch?

rpav commented 7 years ago

Ah thanks.

Yeah, I've seen cl-launch and other various solutions, but what I really want is to write lisp and call into my running image from the shell with some cwd, list of files, input, etc., rather than start a new lisp. It didn't appear that anything else did this (at least a couple years ago).

fare commented 7 years ago

There are plenty of security issues. But also some basic infrastructure issues to build an event loop server just right. Stelian Ionescu's iolib would be a good start, but you'll want to use signalfd, and for that you need to patch SBCL (Alastair Bridgewater has some hints about signals on SBCL).

rpav commented 7 years ago

This already works as needed, and I have no particular requests for specific functionality or extension. It probably doesn't work on Windows for a number of reasons, but the call for shell interaction on Windows is likely not as great. If anyone wants to put the work in there, they're welcome, as long as it doesn't massively disrupt everything else.