Permalink
Please sign in to comment.
Browse files
Clean up the interface to the command parser.
- word_parse.py uses c_parser.ParseCommandSub() for $() and `` - source and eval use main_loop.Batch() to interleave parsing and execution (e.g. so they can have aliases defined.) - ParseTrap uses main_loop.ParseWholeFile() - oshc also uses main_loop.ParseWholeFile() All unit, spec, gold, and osh2oil tests pass.
- Loading branch information...
Showing
with
48 additions
and 80 deletions.
- +3 −4 bin/oil.py
- +6 −14 core/cmd_exec.py
- +0 −29 core/cmd_exec_test.py
- +26 −11 core/main_loop.py
- +9 −19 osh/cmd_parse.py
- +4 −3 osh/word_parse.py
0 comments on commit
7868d80