README.md 580 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
# Python Abstract Syntax Trees

## Short description

Abstract Syntax trees of 150k Python programs found on Github. Data provided by SRI Group of ETH Zuerich.

## Conversion details

- Each value of a type is a node.
- The value of an optional value attribute is inserted as first child of a type.

## Dependencies

- **Python3**
  https://www.python.org/downloads/
- **argparse**
- **wget**
- **wget**
- **tar**
- **awk**
- **sort**
- **cut**

## Steps

Execute to download all necessary files, convert them into bracket notation and sort them.
```bash
./download_prepare.sh
```