shithub: pprolog

ref: d5ce41f05bc322fa2fb4d0eee66080b3b3004853
dir: /fns.h/

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

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

/* misc.c */
Term *copyterm(Term *);
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 *);