File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1800,5 +1800,24 @@ to stdout. Otherwise, the content is read from stdin.
18001800
18011801.. seealso ::
18021802
1803- `Green Tree Snakes <https://greentreesnakes.readthedocs.io/ >`_, an external documentation resource, has good
1804- details on working with Python ASTs.
1803+ `Green Tree Snakes <https://greentreesnakes.readthedocs.io/ >`_, an external
1804+ documentation resource, has good details on working with Python ASTs.
1805+
1806+ `ASTTokens <https://asttokens.readthedocs.io/en/latest/user-guide.html >`_
1807+ annotates Python ASTs with the positions of tokens and text in the source
1808+ code that generated them. This is helpful for tools that make source code
1809+ transformations.
1810+
1811+ `leoAst.py <http://leoeditor.com/appendices.html#leoast-py >`_ unifies the
1812+ token-based and parse-tree-based views of python programs by inserting
1813+ two-way links between tokens and ast nodes.
1814+
1815+ `LibCST <https://libcst.readthedocs.io/ >`_ parses code as a Concrete Syntax
1816+ Tree that looks like an ast tree and keeps all formatting details. It's
1817+ useful for building automated refactoring (codemod) applications and
1818+ linters.
1819+
1820+ `Parso <https://parso.readthedocs.io >`_ is a Python parser that supports
1821+ error recovery and round-trip parsing for different Python versions (in
1822+ multiple Python versions). Parso is also able to list multiple syntax errors
1823+ in your python file.
You can’t perform that action at this time.
0 commit comments