-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an html repr for ASTs nodes. #9
Comments
🤔 |
Yeah, are you thinking a nested details / summary tagThat expands to show more nodes?or something more like graphviz representation |
Yes. Dag is interesting... but ast will be a tree anyway, so likely easier to represent explicitely. |
+1 For an easier starting point, maybe add a text repr that pretty prints it? I use an ast pretty printer which I stole off someone's blog: https://bitbucket.org/takluyver/greentreesnakes/src/96d6e70210789c0b743eabbbb57d9282b7e41d8c/astpp.py?at=default It doesn't have an explicit license, so we'd need to contact the author to clarify that before using it in IPython. |
No description provided.
The text was updated successfully, but these errors were encountered: