Given a set of input-output examples (tables) and a sketch (incomplete query), SKEL returns the desired query in R and in SQL.
usage: sequential.py [--sketch=SKETCH] [--flag_types] [--generate_sketch_dsl] SPECIFICATION
positional arguments:
SPECIFICATION specification yaml file
optional arguments:
-h, --help shows a help message and exits
--sketch [SKETCH] name of the sketch in the specification file (default: None)
--flag_types use types optimization to parse sketch
--generate_sketch_dsl generate dsl using sketch productions
- Python 3.6+
- R 3.6.3
-
Create a new virtual environment (strongly recommended):
python3 -m venv env
-
Install python dependencies:
pip install .
-
Install R dependencies:
Rscript setup.r