Prolog/Combining Languages

From Wikibooks, open books for an open world
< Prolog
Jump to: navigation, search

Prolog programs are rarely used standalone, they are usually embedded in imperative programming languages like in Java, C or C++. It's usually easier to embed it in languages, which support OOP than in C, because the Prolog types are very different from the ones used in imperative languages, and objects can encapsulate their specific behaviour quite well. (e.g. the "not instantiated" state of a variable)

[edit] SWI-Prolog

You can find the documentation about Java-Prolog interface here: [1]

Interfacing with Perl: [2]

[edit] Other Java-Prolog links

[3]

Personal tools
Namespaces
Variants
Actions
Navigation
Community
Toolbox
Sister projects
Print/export