Logtalk is an actively used programming language created in 1998.

21Years Old 1,025Users 0Jobs

Example code from Linguist:

% this is a Logtalk source file

:- object(hello_world).

	% the initialization/1 directive argument is automatically executed
	% when the object is loaded into memory:
	:- initialization((nl, write('********** Hello World! **********'), nl)).

:- end_object.

Example code from Wikipedia:

?- my_first_object::p2.
ERROR: error(permission_error(access, private_predicate, p2), my_first_object::p2, user)

Last updated February 11th, 2019