Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 440 Bytes

File metadata and controls

14 lines (9 loc) · 440 Bytes

pythonparser

Pythonparser is a python tool that produces a GumTree compatible Python AST. It uses under the hood asttokens and jsontree. This version has two scripts available. One for py2 and one for py3

Installation

Just clone the repository and pip install -r requirements.txt

Usage

On Windows:

  • Add PYTHONPATH envvar to pip install directory
  • Change the PythonTreeGenerator.java to use python command instead of PATH