shithub: pprolog

ref: 347e5bc533070a5e988d82e7588a4e905c7096f3
dir: /fns.h/

View raw version
/* parser.c */
Term *parse(int, 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 */
int evalquery(Term *, Term *, Binding **);

/* repl.c */
void repl(Term *);