Back

Logtalk

Logtalk is an open-source object-oriented programming language that extends Prolog with classes, protocols, and a comprehensive development toolset. It is primarily used for creating reusable and modular code, building large-scale applications, and promoting software reuse.

Hello, world code example:

:- object(hello_world).

    % the initialization/1 directive argument is automatically executed
    % when the object is loaded into memory:
    :- initialization(write('Hello world!\n')).

:- end_object.

Popularity: Less than 1% of developers are using or have used this language.*
*According to StackOverflow's 2023 survey.

Repositories on GitHub: 66