*** Welcome to piglix ***

Logtalk

Logtalk
Paradigm Logic programming, object-oriented programming, prototype-based programming
Designed by Paulo Moura
First appeared 1998; 19 years ago (1998)
Stable release
3.10.3 / March 20, 2017; 6 days ago (2017-03-20)
Preview release
3.00.0 Release Candidate 9 / December 19, 2014; 2 years ago (2014-12-19)
OS Cross-platform
License Artistic License 2.0 (2.x) / Apache License 2.0 (3.01.x)
Website logtalk.org
Influenced by
Prolog, Smalltalk, Objective-C

Logtalk is an object-oriented logic programming language that extends and leverages the Prolog language with a feature set suitable for programming in the large. It provides support for encapsulation and data hiding, separation of concerns and enhanced code reuse. Logtalk uses standard Prolog syntax with the addition of a few operators and directives.

The Logtalk language implementation is distributed under an open source license and can run using a Prolog implementation (compliant with official and de facto standards) as the back-end compiler.

Logtalk aims to bring together the advantages of object-oriented programming and logic programming. Object-orientation emphasizes developing discrete, reusable units of software, while logic programming emphasizes representing the knowledge of each object in a declarative way.

As an object-oriented programming language, Logtalk's major features include support for both classes (with optional metaclasses) and prototypes, parametric objects, (interfaces), categories (components, aspects, hot patching), multiple inheritance, public/protected/private inheritance, event-driven programming, high-level multi-threading programming,reflection, and automatic generation of documentation.

For Prolog programmers, Logtalk provides wide portability, featuring predicate namespaces (supporting both static and dynamic objects), public/protected/private object predicates, coinductive predicates, separation between interface and implementation, simple and intuitive meta-predicate semantics, lambda expressions, definite clause grammars, term-expansion mechanism, and conditional compilation. It also provides a module system based on de facto standard core module functionality (internally, modules are compiled as prototypes).


...
Wikipedia

...