Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the best lisp/scheme for unix scripting?

Tags:

unix

lisp

The title pretty much says it all. I use clojure for my major projects but it's not a good scripting language because the jvm has a slow startup and doesn't interface well with some unixy things. So I'm looking for a lisp which will work well as a scripting language, for example having a good interface for managing unix processes, easily use things like async io, etc.

like image 968
jshen Avatar asked Nov 16 '10 00:11

jshen


3 Answers

Scsh (it stands for "Scheme shell") can be gotten at http://www.scsh.net. It's "a variant of Scheme 48 (an R5RS compliant new-tech Scheme system) ... designed for writing real-life standalone Unix programs and shell scripts."

A nice introduction to system administration in it can be found at http://www.theillien.com/Sys_Admin_v12/html/v11/i01/a2.htm.

like image 71
Nietzche-jou Avatar answered Oct 17 '22 01:10

Nietzche-jou


A wide range of common unix tools have bindings for Guile. If its your objective to automate any of these tools, this might be a nice place to look.

like image 26
SingleNegationElimination Avatar answered Oct 17 '22 03:10

SingleNegationElimination


Racket is a really nice Scheme implementation. Its pretty powerful. One of its introductions is developing a web server from scratch.

like image 32
Tim McNamara Avatar answered Oct 17 '22 02:10

Tim McNamara