Skip to content

ChezJrk/asdl

Repository files navigation

codecov

ASDL ADT

This is a modern Python (3.8+) library for generating helpful algebraic data types out of ASDL definitions.

Development setup

First, clone the repo:

$ git clone [email protected]:ChezJrk/asdl.git
$ cd asdl

Then create a virtual environment and install the requirements into it:

$ python3 -m venv $HOME/.venv/asdl
$ source $HOME/.venv/asdl/bin/activate
$ python -m pip install -U pip setuptools wheel
$ python -m pip install -r requirements.txt

Then install the pre-commit hooks:

$ pre-commit install

Finally, you can run the tests with tox:

$ tox

This will test on Python 3.8, 3.9, and 3.10.