New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>:

The proposed PR adds a simple command-line interface to the ast module, similar 
to CLI of the tokenize and dis modules. It reads the content of a specified 
file (or stdin), parses it with ast.parse() and outputs the tree with 
ast.dump().

It can be used for learning internals of the Python compiler, in addition to 
tokenize and dis.

----------
components: Library (Lib)
messages: 351297
nosy: benjamin.peterson, brett.cannon, rhettinger, serhiy.storchaka, yselivanov
priority: normal
severity: normal
status: open
title: Add command-line interface for the ast module
type: enhancement
versions: Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38049>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to