Clingo
Loading...
Searching...
No Matches
ast.c

The example shows how to rewrite a non-ground logic program.

The example shows how to rewrite a non-ground logic program.

Output

./ast 0
Solving with enable = false...
Model:
Solving with enable = true...
Model: enable a
Model: enable b
Solving with enable = false...
Model:

Code

// NOLINTNEXTLINE(bugprone-reserved-identifier)
#define __STDC_FORMAT_MACROS
#include <stdio.h>
int main(int argc, char *argv[]) {
(void)argc;
(void)argv;
printf("TODO\n");
return 0;
}