9#define YAP_CPP_INTERFACE 1
14#include <initializer_list>
58extern bool python_in_python;
89#if _MSC_VER || defined(__MINGW32__)
95X_API
extern void YAP_UserCPredicate(
const char *, YAP_UserCPred,
101X_API
extern void YAP_UserCPredicateWithArgs(
const char *, YAP_UserCPred,
102 YAP_Arity, YAP_Term);
104X_API
extern void YAP_UserBackCPredicate(
const char *name,
106 YAP_UserCPred
cont, YAP_Arity arity,
109X_API
extern void YAP_UserBackCutCPredicate(
const char *name,
112 YAP_UserCPred cut, YAP_Arity arity,
115X_API
extern YAP_Term YAP_ReadBuffer(
const char *s, YAP_Term *tp);
117extern YAP_Term YAP_MkcharPTerm(
char *s);
load_foreign_files/3 has works for the following configurations:
YAPModule A YAPModule describes a bare module, which in YAP is just a name.
take information on a Prolog error:
Atom A YAP data-base is a collection of atoms, where each atom has a name and a set of Properties.
YAPFunctor represents Prolog functors Name/Arity.
YAP Engine: takes care of the execution environment where we can go executing goals.
C++ Interface to atoms and their properties.
C++ Interface to generated code.