Open andychu opened 3 years ago
I think we have a good design:
https://oilshell.zulipchat.com/#narrow/stream/121540-oil-discuss/topic/Module.20Brainstorming
See doc/modules.md too
doc/modules.md
module
$_this_dir
redefine_{proc,module}
redefine_const
runproc
proc-main
oil-main
This is a simpler version of #453
It's called runproc, like builtin and command
builtin
command
https://github.com/oilshell/oil/commit/cfedf4ec5cec4db11bb07f06aac62dbdb9c3ccdd
We need _this_dir
_this_dir
https://news.ycombinator.com/item?id=27378444
I think we have a good design:
https://oilshell.zulipchat.com/#narrow/stream/121540-oil-discuss/topic/Module.20Brainstorming
See
doc/modules.md
toomodule
builtin$_this_dir
registerredefine_{proc,module}
redefine_const
for interactive testing of modulesrunproc
builtin (formerlyproc-main
,oil-main
)