Go to file
Jan Nieuwenhuizen 13f43973f5 Do not export unset variables.
* gash/environment.scm (get-environ): Filter out unset variables.
* tests/42-sh-export-new.sh: New file.
* tests/42-sh-export-new.stdout: New file.
* Makefile.am (FULL_TESTS): Add tests/42-sh-export-new.sh.
(XFAIL_TESTS): Remove tests/42-export-new.sh and tests/42-sh-export.sh.

Co-authored-by: Timothy Sample <samplet@ngyro.com>
2019-05-20 01:18:22 -04:00
bin Move bin/gash to scripts. 2019-01-12 11:42:35 -05:00
build-aux Build Gash with Autotools. 2019-05-16 10:49:16 -04:00
doc Merge branch 'gash' 2018-12-13 13:42:21 -05:00
gash Do not export unset variables. 2019-05-20 01:18:22 -04:00
scripts Remove (almost) all references to Geesh. 2019-05-20 01:17:40 -04:00
tests Do not export unset variables. 2019-05-20 01:18:22 -04:00
todo guix: resurrect package build. 2018-07-10 00:11:24 +02:00
tools Add copyright sign to headers. 2019-05-20 01:18:22 -04:00
.dir-locals.el Merge branch 'gash' 2018-12-13 13:42:21 -05:00
.gitignore Replace geesh script with gash. 2019-05-20 01:17:14 -04:00
AUTHORS Update AUTHORS. 2019-05-20 01:17:22 -04:00
COPYING Initial commit 2018-01-31 14:52:05 -05:00
HACKING Remove (almost) all references to Geesh. 2019-05-20 01:17:40 -04:00
INSTALL Remove (almost) all references to Geesh. 2019-05-20 01:17:40 -04:00
Makefile.am Do not export unset variables. 2019-05-20 01:18:22 -04:00
README Initial commit 2018-01-31 14:52:05 -05:00
TODO WIP: marginal 2018-07-14 12:34:42 +02:00
bootstrap Initial commit 2018-01-31 14:52:05 -05:00
check.sh Remove special characters from test names. 2019-05-16 10:49:38 -04:00
configure.ac Remove (almost) all references to Geesh. 2019-05-20 01:17:40 -04:00
gash.guix.scm Move bin/gash to scripts. 2019-01-12 11:42:35 -05:00
guix.scm Remove (almost) all references to Geesh. 2019-05-20 01:17:40 -04:00
pre-inst-env.in Initial commit 2018-01-31 14:52:05 -05:00
sh.bnf PEG shell grammar. 2017-12-07 23:07:27 +01:00
test.sh Stabilize test suite. 2019-05-16 10:49:38 -04:00

README

This project aims to produce at least a POSIX compliant sh replacement
or even implement GNU bash.  On top of that it also intends to make
scheme available for interactive and scripting application.  The
approach also intends to allow capturing the intermediate scheme
representation of the "original" shell script to offer a migration
path away from [ba]sh. On top of this GNU make could similarly be
replaced, as make turns out to be fraught with limitations and
complexities.  One of the features I personally desire is not be
forced to keep doing what was done in the past, i.e. once an object
file is produced, it does not have to be produced again as long as the
original is kept around. The orignal must be replaced when any of its
dependencies change (source, compiler options, linker, etc.)

I feel that the shell has been instrumental on my path to embracing
functional programming, however now I mostly experience that the
language itselfs folds on functional expression, pun intended.


* history flattened vs full, i.e. navigate interactively without
  redundancy vs export as script