shithub: pprolog

ref: 67e8b85a9f9b42acc896b44eb2ea1310e749f03a
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 *);