Add support for '<sh-begin>'

* geesh/eval.scm (eval-sh): Handle '<sh-begin>'.
This commit is contained in:
Timothy Sample 2018-07-18 15:03:11 -04:00
parent d171a8cd15
commit b5e77fc27b
1 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,8 @@
"Evaluate the Shell expression @var{exp} in the context of the Shell
environment @var{env}."
(match exp
(('<sh-begin> . sub-exps)
(for-each (cut eval-sh env <>) sub-exps))
(('<sh-exec> words ..1)
(let ((args (append-map (cut eval-word env <>) words)))
(match args