This repository has been archived by the owner on Dec 5, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7
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. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
No description provided.
The text was updated successfully, but these errors were encountered: