Permalink
Please sign in to comment.
Browse files
Preparing for a new ASDL reflection API.
This will make it easier to generate textual code while preserving reflection for format.py and encode.py. - Add a smoke test that does py_meta, format, encode for arith.asdl. - Use the new asdl.ResolveTypes() API for osh/osh.asdl and core/runtime.asdl. Other: - Tweak pretty printing of ASDL AST - meta.py: This may be deleted. This is a draft of something more ambitious.
- Loading branch information...
Showing
with
400 additions
and 49 deletions.
- +2 −1 asdl/arith_ast.py
- +95 −10 asdl/asdl_.py
- +36 −2 asdl/asdl_base.py
- +11 −13 asdl/asdl_demo.py
- +16 −0 asdl/format_test.py
- +199 −0 asdl/meta.py
- +23 −14 asdl/py_meta.py
- +12 −5 asdl/run.sh
- +2 −1 core/runtime.py
- +4 −3 osh/ast_.py
Oops, something went wrong.
0 comments on commit
5b3cf9a