Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Visualize abstract syntax trees of methods, declarations, expressions, and more

License

NotificationsYou must be signed in to change notification settings

irahorecka/astree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Visualize abstract syntax trees of methods, declarations, expressions, and more

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:

  1. Clone repository
  2. $ pip install -r requirements.txt
  3. $ 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

AST visualize requests.get


Note: please report bugs toissues.

About

Visualize abstract syntax trees of methods, declarations, expressions, and more

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp