Search found 523 matches

by Paulo Moura
Thu Sep 10, 2020 1:05 pm
Forum: Help
Topic: Logtalk object (de)serialization to JSON?
Replies: 1
Views: 70

Re: Logtalk object (de)serialization to JSON?

This raises the following questions: - How to deal with the category imports and the inheritance hierarchies when serializing an object? Should we just add a SWI-Prolog dictionary / JSON key-value pair for every imported and inherited clauses of a Logtalk object into its serialization? Is exchangin...
by Paulo Moura
Thu Sep 10, 2020 10:53 am
Forum: Help
Topic: Specifying and enforcing type constraints on object predicates?
Replies: 1
Views: 59

Re: Specifying and enforcing type constraints on object predicates?

The library "type" object provides building blocks for type-checking predicate arguments: https://logtalk.org/manuals/libraries/types.html https://logtalk.org/library/type_0.html Another option, using the type-checking predicates mentioned above, is to use the events and monitors to watch for messag...
by Paulo Moura
Tue Sep 01, 2020 7:31 am
Forum: Announcements
Topic: Logtalk 3.41.0 Stable
Replies: 0
Views: 166

Logtalk 3.41.0 Stable

Hi, Logtalk 3.41.0 is now available for downloading at: https://logtalk.org/ This release adds new linter checks for tautologies and falsehoods, adds a new convenience error throwing built-in method for uninstantiation errors, provides updated support for Tau Prolog, provides library fixes for Quint...
by Paulo Moura
Thu Aug 27, 2020 9:07 am
Forum: Help
Topic: Term expansion conflicts with SWI libraries and addons
Replies: 1
Views: 203

Re: Term expansion conflicts with SWI libraries and addons

1. Is there a more elegant solution to include http server functionality within Logtalk? The issue you found is caused by the Logtalk message sending control construct, ::/2, being handled as a predicate by (SWI-)Prolog and thus not being correctly processed when used as a closure in the http_handl...
by Paulo Moura
Sun Aug 23, 2020 3:42 pm
Forum: Wish list
Topic: Something like Pengines in SWI Prolog
Replies: 7
Views: 488

Re: Something like Pengines in SWI Prolog

Prolog systems map a thread to a POSIX thread (or a POSIX thread emulation on Windows operating-systems). These are sometimes referred to as "heavy" threads. I'm not really familiar with Erlang but my understanding is that Erlang threads, sometimes called "green" threads, are much more light-weight ...
by Paulo Moura
Thu Aug 20, 2020 9:15 pm
Forum: Wish list
Topic: Something like Pengines in SWI Prolog
Replies: 7
Views: 488

Re: Something like Pengines in SWI Prolog

Logtalk threaded engine predicates can also be used when running with ECLiPSe (which is also open source) as the backend.
by Paulo Moura
Thu Aug 20, 2020 4:09 pm
Forum: Wish list
Topic: Something like Pengines in SWI Prolog
Replies: 7
Views: 488

Re: Something like Pengines in SWI Prolog

Logtalk multi-threading features requires a backend Prolog system implementing the ISO draft proposal for threads. The only systems doing it and doing reliably are ECLiPSe and SWI-Prolog (but the lack of a few key predicates means that ECLiPSe can only run the multi-threading engines examples, not t...
by Paulo Moura
Wed Jul 29, 2020 10:25 am
Forum: Wish list
Topic: Something like Pengines in SWI Prolog
Replies: 7
Views: 488

Re: Something like Pengines in SWI Prolog

This have been discussed a few times in the past. I once made a proposal for standardizing Prolog foreign language interfaces at the Prolog Common initiative. But there was no followup and the Prolog Common initiative eventually died. Only a few Prolog backends provide a sockets interface. There's n...
by Paulo Moura
Wed Jul 29, 2020 5:59 am
Forum: Announcements
Topic: Logtalk 3.40.0 Stable
Replies: 0
Views: 131

Logtalk 3.40.0 Stable

Hi, Logtalk 3.40.0 is now available for downloading at: https://logtalk.org/ This release adds support for module aliases, includes improvements for the documentation and the "doclet" and "lgtdoc" developer tools, adds new Prolog standards conformance tests, adds a new programming example illustrati...
by Paulo Moura
Thu Jun 18, 2020 8:57 am
Forum: Announcements
Topic: Logtalk webinar coming!
Replies: 0
Views: 239

Logtalk webinar coming!

Next Logtalk webinar:

How to install, setup, and start your first project plus developer tools.

June 27 at 10:00 UTC. Repeated at 20:00 UTC.

Limited to 11 participants to ensure a good interactive experience. Open to sponsors (Tea tier; see https://github.com/sponsors/pmoura) and guests.
by Paulo Moura
Wed Jun 17, 2020 11:34 am
Forum: Announcements
Topic: Logtalk 3.39.0 Stable
Replies: 0
Views: 204

Logtalk 3.39.0 Stable

Hi, Logtalk 3.39.0 is now available for downloading at: https://logtalk.org/ This release improves the linter checks for "is/2" goals, provides an experimental hook predicate enabling user-defined linter warnings, improves the "make" tool check of library aliases, adds experimental support for Ciao ...
by Paulo Moura
Wed May 13, 2020 3:03 pm
Forum: Announcements
Topic: Two Logtalk webinars on May 30th
Replies: 0
Views: 991

Two Logtalk webinars on May 30th

Hi, After some requests, there will two Logtalk webinars on May 30th: 1. Introduction to Logtalk - 14:00 UTC+00:00 (Tea tier) 2. Parametric objects programming idioms - 19:00 UTC+00:00 (Sushi Tier) See https://github.com/sponsors/pmoura for sponsorship tier details and additional rewards. Happy logt...
by Paulo Moura
Sat May 09, 2020 9:23 am
Forum: Announcements
Topic: Logtalk webinar coming!
Replies: 0
Views: 933

Logtalk webinar coming!

Open to sponsors (https://github.com/sponsors/pmoura) and guests. Limited to ~10 participants to ensure a good interactive experience. Tentative date and time is May 30th at 16:00 UTC. Sushi tier or superior required for new sponsors for webinar access. Sponsoring starting date will be taken into ac...
by Paulo Moura
Tue Apr 28, 2020 10:57 am
Forum: Announcements
Topic: Logtalk 3.38.0 Stable
Replies: 0
Views: 1017

Logtalk 3.38.0 Stable

Hi, Logtalk 3.38.0 is now available for downloading at: https://logtalk.org/ This release adds a new lint check for non-tail recursive predicate definitions, improves the lint checks for deprecated predicates, includes fixes and improvements for the "arbitrary" library category, implements several n...
by Paulo Moura
Thu Apr 02, 2020 1:59 pm
Forum: Announcements
Topic: Logtalk 3.37.0 Stable
Replies: 0
Views: 957

Logtalk 3.37.0 Stable

Hi, Logtalk 3.37.0 is now available for downloading at: https://logtalk.org/ This release adds a new meta-message to the message printing mechanism, allows the "user" pseudo-object to be used as an event monitor, fixes a reflection API bug that could result in duplicated or redundant entity operator...