What is the best schema implementation for shell scripts (sys-admin)?

I went through the training material of Scheme (read SICP, The Little Schemer, The Seasoned Schemer, TSPL) and played with Scheme for a while as a toy.

But I want to practice. Today I needed to write a shell script to do the processing of the batch file, and I thought, "Why not do it in Scheme?" I did it, and it was a joy.

Now I have to wonder what is the best implementation for a shell type script. I know that all implementations are different in that they implement outside of R5RS. (In principle, they differ in all the useful and practical extensions that you want to use in the scripting language).

Therefore, I would like to choose one implementation and stick to it. I am looking for something that:

  • This is a cross platform (Linux, OS X, Windows).
  • It has extensions that are useful in daily shell scripts, and these extensions are part of the basic installation.
  • Easy to install. (for example, there are many pre-created binaries and / or this is the standard package on many distributions.)
  • actively developing with an active community.
  • Unicode support.

I am using gambit so far. It seems to satisfy the above limitations. PLT seems redundant. Interesting about Guile, MIT / GNU, etc.

+3
source share
3 answers

PLT . , MzScheme. MzScheme - , PLT .

PLT Scheme, , IDE .

+4

scsh? , , .

+4

Gauche, :

  • Linux, OS X, Windows w/ Cygwin UNIX- ,
  • POSIX- , , , DBM, ..
  • Several packages are available, such as MacPorts, apt-get, yum (or just say configure, makeand make install),
  • There is an active English and Japanese mailing list,
  • Supports UTF-8 as internal encoding.
+2
source

Source: https://habr.com/ru/post/1720730/


All Articles