1/*
2 * Copyright 2008-2009 Katholieke Universiteit Leuven
3 *
4 * Use of this software is governed by the MIT license
5 *
6 * Written by Sven Verdoolaege, K.U.Leuven, Departement
7 * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
8 */
9
10#include <isl/set.h>
11
12int main(int argc, char **argv)
13{
14	struct isl_ctx *ctx = isl_ctx_alloc();
15	struct isl_basic_set *bset;
16	isl_printer *p;
17
18	bset = isl_basic_set_read_from_file(ctx, stdin);
19	bset = isl_basic_set_detect_equalities(bset);
20
21	p = isl_printer_to_file(ctx, stdout);
22	p = isl_printer_set_output_format(p, ISL_FORMAT_POLYLIB);
23	p = isl_printer_print_basic_set(p, bset);
24	isl_printer_free(p);
25
26	isl_basic_set_free(bset);
27	isl_ctx_free(ctx);
28
29	return 0;
30}
31