- Notifications
You must be signed in to change notification settings - Fork3
Visualize abstract syntax trees of methods, declarations, expressions, and more
License
irahorecka/astree
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
astree.py
combines the Pythonast
module withpydot_ng
to draw abstract syntax trees specified in DOT language scripts.An abstract syntax tree is a tree representation of the abstractsyntactic structure of source code written in a programming language (e.g. Python).
Jumpstart -- running the program:
- Clone repository
$ pip install -r requirements.txt
$ python astree.py
Input modules, methods, declarations, statements, expressions, etc.
View video examplehere.
For example, let's look at therequests.get
method:>>> Input a method name, expression, etc.:
requests.get
Note: please report bugs toissues.
About
Visualize abstract syntax trees of methods, declarations, expressions, and more
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.