Lambda the Ultimate

inactiveTopic Es: A shell with higher-order functions
started 12/27/2002; 2:37:49 PM - last post 12/28/2002; 3:57:10 AM
Ehud Lamm - Es: A shell with higher-order functions  blueArrow
12/27/2002; 2:37:49 PM (reads: 2367, responses: 2)
Es: A shell with higher-order functions
(via GIGO)

While rc was an experiment in adding modern syntax to Bourne shell semantics, es is an exploration of new semantics combined with rc-influenced syntax: es has lexically scoped variables, first-class functions, and an exception mechanism, which are concepts borrowed from modern programming languages such as Scheme and ML.

I never heard of anyone using this shell, but it sounds cool. The paper is quite readable and describes many interesting details (including garbage collection and a discussion of the implementation).

The es version described in the paper is not properly tail recursive (I am not sure about the current version).

Now, a shell that would provide call/cc would be reallly interesting...


Posted to functional by Ehud Lamm on 12/27/02; 2:40:19 PM

Steve Elkins - Re: Es: A shell with higher-order functions  blueArrow
12/28/2002; 3:08:53 AM (reads: 663, responses: 1)
You probably already know about scsh, but since you didn't mention it in your post I feel obligated to point out http://www.scsh.net/ and recommend it highly.

Ehud Lamm - Re: Es: A shell with higher-order functions  blueArrow
12/28/2002; 3:57:10 AM (reads: 701, responses: 0)
I was meaning to mention it in a comment, but now I don't have to..