Images of shells by the sea

es – extensible functional shell

es is an extensible command shell that combines traditional Unix command execution with ideas from functional programming languages. Its design is based on the Plan 9 rc shell and was influenced by languages such as Scheme and Tcl.

The shell treats functions as first-class values. This allows functions to be passed as arguments, returned from other functions and stored for later use. Lexical scoping makes it possible to construct reusable operations without relying entirely on global variables.

es also provides mechanisms for extending the shell’s own behaviour. Functions can modify services such as command lookup and redirection, allowing users to change aspects of the command environment through the language itself.

The shell supports ordinary external command execution, pipelines and scripting constructs. Its quoting rules are intended to be simpler than those used by many Bourne-style shells, reducing some of the complexity associated with nested expansions and special characters.

es includes exception handling and richer function return values than traditional shell exit statuses. These facilities allow scripts to represent and propagate information more expressively.

The language is particularly relevant to users interested in alternative shell design, functional programming and the relationship between command interpreters and general-purpose programming languages.

This is public domain software.

Key Features

  • Provides an interactive command interpreter and scripting language.
  • Supports first-class and higher-order functions.
  • Offers lexical scoping for variables and functions.
  • Provides exception handling.
  • Supports function values beyond ordinary numeric exit statuses.
  • Allows shell services to be modified or extended through functions.
  • Supports configurable command lookup behaviour.
  • Provides extensible redirection handling.
  • Offers Unix-style external command execution.
  • Supports pipelines and command composition.
  • Provides relatively simple quoting rules.
  • Allows reusable functions and scripting constructs.
  • Includes examples demonstrating shell language extensions.

Website: github.com/wryun/es-shell
Support:
Developer: Paul Haahr, Byron Rakitzis, Soren Dayton and James Haggerty
License: Public Domain

es is written in C. Learn C with our recommended free books and free tutorials.


Related Software

Shells
zshAdvanced and programmable command interpreter
NushellAdopts the Unix philosophy of shells where pipes connect command together
fishSmart and user-friendly command line shell
XonshPython-powered, cross-platform shell language and command prompt
bashsh-compatible command language interpreter
MurexIntuitive, typed and content aware shell
PowerShellCross-platform automation and configuration framework
ElvshExpressive programming language and a versatile interactive shell
OilsBilled as an upgrade to bash. Written in Python.
DASHPOSIX-compliant implementation of sh that aims to be as small as possible
shShell parser, formatter, and interpreter
tcshC shell with file name completion and command line editing
mkshMirBSD Korn shell
ksh Unix shell which was developed by David Korn at Bell Labs
brushPOSIX- and bash compatible shell
RashLanguage, library, and shell REPL for Racket.
ionModern system shell that features a simple, yet powerful, syntax
CicadaBash-like command environment with scripting and job control
YashYet another shell
okshPortable OpenBSD ks
esExtensible shell with higher-order functio
duneA shell by the beach
coshConcatenative command-line she
MarcelModern command environment combining Python with Unix pipelines
HilbishHighly extensible command environment configured with Lua
gshPOSIX-compatible generative shell
arshStatically typed scripting language with shell-like features
Sushi shellBash clone shell implemented in Rust
lokshLinux port of OpenBSD's Korn-compatible command interpreter
fortshShell written in Fortran
hshSlightly different take on your shell
ReShellModern shell
rashRudimentary shell
DaxCustom Unix shell implementation
cjshPOSIX-oriented command environment with modern interactive features

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted