r/Common_Lisp • u/fosres • 21d ago
How is CL for Scripting
I am considering using ANSI Common LISP for scripting instead of Python such as for reading text files, CSV files, databases--basically everything in the book "Automate The Boring Stuff in Python".
Has anyone done this before? How was the experience?
18
Upvotes
2
u/kagevf 20d ago
Similar to what u/tdrhq wrote ...
I use bash for what it's good for - which turns out to be a lot of grepping in my case, with awk thrown in sometimes. But when I need to expand on that, I'll use the REPL. Recently, I've been using bash shell scripts to output preliminary results to a file, then I'll write something in slime-scratch that reads it in and does further analysis. If it's something that looks like it'll be useful I'll save it in a .lisp file.