ref: 8dd4f85c85aa9ab7a5f1219efd694e6707f2718c
dir: /fns.h/
/* 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); Term *mkstring(Rune *); Term *mklist(Term *); /* eval.c */ int evalquery(Term *, Term *, Binding **, Choicepoint **); int unify(Term *, Term *, Binding **); void applybinding(Term *, Binding *); /* repl.c */ void repl(Term *); /* builtins.c */ Builtin findbuiltin(Term *); /* flags.c */ void initflags(void); Term *setflag(Rune *, Term *); /* error.c */ Term *instantiationerror(void); Term *typeerror(Rune *, Term *); Term *domainerror(Rune *, Term *); Term *existenceerror(Rune *, Term *); Term *permissionerror(Rune *, Rune *, Term *); Term *representationerror(Rune *); Term *evaluationerror(Rune *); Term *resourceerror(Rune *); Term *syntaxerror(Rune *);