1 /* This is a very simple example of how to use the CLooGLib inside your
2 * programs. You should compile it by typing 'make' (after edition of the
3 * makefile), then test it for instance by typing
4 * 'more FILE.cloog | ./example' (or example.exe under Cygwin).
8 # include <cloog/cloog.h>
11 { CloogProgram
* program
;
12 CloogOptions
* options
;
14 options
= cloog_options_malloc() ;
15 program
= cloog_program_read(stdin
,options
) ;
17 program
= cloog_program_generate(program
,options
) ;
18 cloog_program_pprint(stdout
,program
,options
) ;
20 cloog_options_free(options
) ;
21 cloog_program_free(program
) ;