Permalink
Please sign in to comment.
Browse files
osh/meta.py is a new module with metaprogrammed data structures.
Explicit data is better for managing dependencies, e.g. between osh/ast_.py and core/id_kind.py. Those modules will become pure libraries. Also: - RedirType is now an ASDL type; not util.Enum. - Move pretty printing into its own module, to make dependencies clearer. - Temporarily move REDIR_TYPE.
- Loading branch information...
Showing
with
346 additions
and 294 deletions.
- +1 −1 asdl/asdl_demo.py
- +3 −2 bin/oil.py
- +1 −1 core/braces.py
- +8 −4 core/cmd_exec.py
- +1 −1 core/cmd_exec_test.py
- +1 −1 core/completion_test.py
- +2 −1 core/expr_eval.py
- +10 −122 core/id_kind.py
- +1 −1 core/id_kind_gen.py
- +12 −9 core/id_kind_test.py
- +1 −1 core/lexer.py
- +1 −1 core/lexer_test.py
- +1 −1 core/libstr.py
- +1 −1 core/process.py
- +1 −1 core/process_test.py
- +1 −1 core/runtime.py
- +1 −1 core/state.py
- +1 −1 core/tdop.py
- +5 −4 core/test_builtin.py
- +1 −1 core/test_lib.py
- +2 −2 core/word.py
- +1 −1 core/word_compile.py
- +1 −1 core/word_eval.py
- +2 −3 doc/osh-quick-ref-toc.txt
- +2 −3 native/fastlex_test.py
- +1 −1 osh/arith_parse.py
- +1 −104 osh/ast_.py
- +112 −0 osh/ast_lib.py
- +1 −1 osh/bool_parse.py
- +1 −1 osh/bool_parse_test.py
- +1 −1 osh/cmd_parse.py
- +4 −3 osh/cmd_parse_test.py
- +1 −1 osh/lex.py
- +1 −1 osh/lex_test.py
- +145 −0 osh/meta.py
- +2 −5 osh/osh.asdl
- +2 −3 osh/parse_lib.py
- +1 −1 osh/word_parse.py
- +6 −5 osh/word_parse_test.py
- +4 −0 scripts/refactor.sh
- +1 −1 tools/osh2oil.py
Oops, something went wrong.
0 comments on commit
1c8b031