shithub: pprolog

ref: 79d1fe1cf2eb6748e2c12ffe9c36a678655302b1
dir: /fns.h/

View raw version
/* parser.c */
Term *parse(int);

/* prettyprint.c */
Rune *prettyprint(Term *);

/* misc.c */
Term *copyterm(Term *, uvlong *);
Term *appendterm(Term *, Term *);
int termslength(Term *);
Term *mkatom(Rune *);
Term *mkvariable(Rune *);
Term *mkcompound(Rune *, int, Term *);
Term *mknumber(int, vlong, double);

/* eval.c */
void evalquery(Term *, Term *);