4 ms·
amusingly i was just wrangling with how to do this yesterday, while writing a CLI common lisp file-watching testrunner. i ended up heading toward something tha
by dannyobrien 3y ago
amusingly i was just wrangling with how to do this yesterday, while writing a CLI common lisp file-watching testrunner.
i ended up heading toward something that was more engineered to run a simple repl function call via SWANK, because i'm increasingly settled to having a single, long-running SBCL image rather than starting up individually compiled or interpreted lisp scripts. Feels more lispy somehow -- and definitely better for TDD.
- fiddlerwoaroof 3y agoYeah, that’s definitely where I’ve ended up: I have a lot of lisp code, but it’s more of a toolbox for my shell (REPL) than standalone programs. However, I’ve settled on a pattern that works pretty well for the few small tools I write: https://github.com/fiddlerwoaroof/dotfiles/blob/18cecfc93bcf935427580e1616d6c748b7f43396/tools/Makefile#L3 https://github.com/fiddlerwoaroof/dotfiles/blob/18cecfc93bcf...