Coder Social home page Coder Social logo

marsam / es-shell Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wryun/es-shell

0.0 2.0 0.0 2.39 MB

es: a shell with higher-order functions

Home Page: http://wryun.github.com/es-shell/

Makefile 1.95% C 83.92% M4 1.27% Erlang 8.36% Shell 1.71% Yacc 2.08% C++ 0.24% JavaScript 0.41% Nix 0.06%

es-shell's Introduction

Preface
-------

This is a personal extension of es.  There are a few ways this differs
from the 'canonical' es:

 - (Many cases of) embedded '=' in arguments result in no syntax error.
   This is ongoing; the optimal behavior is a bit sophisticated.

 - $&background is gone, renamed to $⋔ the old definition of 
   $&fork has been removed; same with %background and %fork.  The old
   function 'fork' has been renamed 'subshell'.  The rationale here
   is to have variants on 'fork' for non-blocking semantics, and
   'subshell' for blocking semantics.

Still to do:

 - Change the precedence of '$$a(1)' to be dissimilar from '$($a(1))'

 - Programmable tab completion (iff readline is linked in).

 - More robust '=' parsing.

 - A proper unit- and regression-testing suite.

README
------

Es is an extensible shell.  The language was derived from the Plan 9
shell, rc, and was influenced by functional programming languages,
such as Scheme, and the Tcl embeddable programming language.  This
implementation is derived from Byron Rakitzis's public domain
implementation of rc.

See the INSTALL file for installation instructions. Once it's running
have a look at the manual page and the docs and examples directories,
in particular Haahr & Rakitzis's paper: ``Es: a shell with higher-order
functions.'' The paper corresponds to a slightly older version of the
shell;  see the file ERRATA for changes which affect parts of the paper.

The file initial.es, which is used to build the initial memory state of
the es interpreter, can be read to better understand how pieces of the
shell interact.

The official ftp site (associated with the original authors) is at:

    ftp://ftp.sys.utoronto.ca/pub/es

but all of the relevant information is mirrored in the repository and/or
the website:

    http://www.github.com/wryun/es-shell
    http://wryun.github.com/es-shell

including the change history and the old mailing list archives.

An old version of Paul's .esrc (es startup) file is provided as an
example as esrc.haahr; correctness is not guaranteed.  A simple
debugger for es scripts, esdebug, is also included; this is very
untested and should be considered little more than a sketch of a few
ideas.

Copyright
---------

Es is in the public domain.  We hold no copyrights or patents on
the source code, and do not place any restrictions on its distribution.
We would appreciate it if any distributions do credit the authors.

Enjoy!

-- Paul Haahr & Byron Rakitzis

Maintenance by:
- Soren Dayton (0.9beta1)
- James Haggerty (post 0.9beta1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.