swipl-biocham.c 334 Bytes
Newer Older
Thierry Martinez's avatar
Thierry Martinez committed
1 2 3
#include <stdio.h>
#include <SWI-Prolog.h>
#include <graphviz_swiprolog.h>
Thierry Martinez's avatar
Thierry Martinez committed
4
#include <sbml_swiprolog.h>
Thierry Martinez's avatar
Thierry Martinez committed
5 6 7 8 9

int
main(int argc, char **argv)
{
    install_graphviz_swiprolog();
Thierry Martinez's avatar
Thierry Martinez committed
10
    install_sbml_swiprolog();
Thierry Martinez's avatar
Thierry Martinez committed
11 12 13 14 15 16 17 18 19

    if (!PL_initialise(argc, argv)) {
        PL_halt(1);
    }

    PL_install_readline();

    PL_halt(PL_toplevel() ? 0 : 1);
}