1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Document: swi-prolog-pl2cpp
Title: A C++ Interface to SWI-Prolog
Author: Jan Wielemaker
Abstract: This document describes a C++ interface to SWI-Prolog.
SWI-Prolog could be used with C++ for a very long time, but only by
calling the extern "C" functions of the C-interface. The interface
described herein provides a true C++ layer around the C-interface for
much more concise and natural programming from C++. The interface
deals with automatic type-conversion to and from native C data-types,
transparent mapping of exceptions, making queries to Prolog and
registering foreign predicates.
Section: Programming/Prolog
Format: HTML
Index: /usr/share/doc/swi-prolog-doc/packages/pl2cpp.html
Files: /usr/share/doc/swi-prolog-doc/packages/pl2cpp.html
|