Skip to content
This repository was archived by the owner on Oct 1, 2019. It is now read-only.

Try using astor for AST printing #8

Open
taion opened this issue Dec 25, 2017 · 1 comment
Open

Try using astor for AST printing #8

taion opened this issue Dec 25, 2017 · 1 comment

Comments

@taion
Copy link
Contributor

taion commented Dec 25, 2017

https://pypi.python.org/pypi/astor

Wanted to let people know I'm working on this. Don't have anything ready to PR yet.

The ideal is that if this integration is possible, then it saves having to write a finicky AST printer for Python, when there already is one.

Ultimately it'd be nice to use standard Python package management instead of vendoring dependencies (for now – since the Python code here has to run in-virtualenv), but that's a longer-term concern that's really more a function of #2.

@taion
Copy link
Contributor Author

taion commented Dec 25, 2017

BTW, as a dev thing, astor.rtrip is good for verifying transform correctness.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant