gash/geesh
Timothy Sample 4ef6907851 Globalize the environment module
Instead of passing around references to the environment, just treat it
as a global.  The old way was just the remains of an idea to make the
environment immutable and keep the interpreter from manipulating any
global state.  By making everything global and mutable, we will have
less impedance mismatch with POSIX going forward.

The following changelog is only a sketch, since nearly every function
has changed.

* geesh/environment.scm: Replace this module with one that treats the
environment as a global resource.
* tests/environment.scm: Delete file.
* Makefile.am: Remove it from the list of tests.
* geesh/shell.scm, geesh/eval.scm, geesh/repl.scm, geesh/word.scm,
geesh/built-ins/break.scm, geesh/built-ins/continue.scm,
geesh/built-ins/echo.scm, geesh/built-ins/export.scm,
geesh/built-ins/false.scm, geesh/built-ins/read.scm,
geesh/built-ins/readonly.scm, geesh/built-ins/set.scm,
geesh/built-ins/true.scm, geesh/built-ins/unset.scm: Remove 'env'
parameters and use the new environment module.
* .dir-locals.el: Update indentation of functions that no longer take
an 'env' parameter and add with-arguments, with-environ, and
with-variables from the new environment module.
* tests/shell.scm, tests/word.scm: Update environment creation and
manipulation in tests.
2018-12-05 16:08:09 -05:00
..
built-ins Globalize the environment module 2018-12-05 16:08:09 -05:00
built-ins.scm Add the set built-in 2018-12-05 16:08:09 -05:00
environment.scm Globalize the environment module 2018-12-05 16:08:09 -05:00
eval.scm Globalize the environment module 2018-12-05 16:08:09 -05:00
lexer.scm Throw an error when missing a single quote 2018-11-28 23:00:10 -05:00
parser.scm Fix parsing of for loops 2018-11-28 23:04:30 -05:00
pattern.scm Add pattern module 2018-12-05 16:08:09 -05:00
repl.scm Globalize the environment module 2018-12-05 16:08:09 -05:00
shell.scm Globalize the environment module 2018-12-05 16:08:09 -05:00
word.scm Globalize the environment module 2018-12-05 16:08:09 -05:00