README.md 640 Bytes
Newer Older
1 2
# Python Abstract Syntax Trees

3 4
Abstract Syntax trees of 150k Python collected and curated by SRI Group of ETH
Zuerich.
5

6 7 8
## Source

https://www.sri.inf.ethz.ch/py150
9 10 11 12 13 14 15 16 17 18

## 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/
19
- **argparse** module of Python3
20 21 22 23 24 25 26 27 28 29 30 31
- **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
32 33 34 35 36
```

## Estimated time

To be measured.