$a
, so that set a []
is written as
set $a []
- like Perl, but unlike old shell or TclImplement variable capturing of closures, so that the following sets
$v
:
var $v
{ set $v 2 }
Implement control structures - as special syntax or high-order function?
Support evaluating script
Determine namespacing mechanism (importable modules; relationship of functions vs. external commands, variables vs. environmental variables)
Failing behavior of builtins; intermediate state:
var (echo a | tee /tmp/a) b = 1
Should arity mismatch be detected early and avoid the side-effect of
writing /tmp/a
? Should $a and $b be defined?
(var
is going to be a special form, needs another subtle example)