Search found 495 matches

by Paulo Moura
Tue Nov 05, 2019 10:05 am
Forum: Announcements
Topic: Logtalk 3.32.0 Stable
Replies: 0
Views: 23

Logtalk 3.32.0 Stable

Hi, Logtalk 3.32.0 is now available for downloading at: https://logtalk.org/ This release adds support for multifile meta-predicates, improves some lint checks, includes fixes and improvements for embedding applications, includes documentation updates and improvements, adds support for storing setti...
by Paulo Moura
Tue Oct 15, 2019 11:23 am
Forum: Announcements
Topic: Logtalk 3.31.0 Stable
Replies: 0
Views: 27

Logtalk 3.31.0 Stable

Hi, Logtalk 3.31.0 is now available for downloading at: https://logtalk.org/ This release adds new and improved lint checks for control constructs and built-in predicates, adds support for using "encoding/1" directives in included files, improves support for compiling modules as objects, includes do...
by Paulo Moura
Tue Oct 08, 2019 6:30 pm
Forum: Announcements
Topic: Logtalk sponsorship is now live
Replies: 0
Views: 29

Logtalk sponsorship is now live

Hi, Logtalk sponsorship is now live. If you visit its repository at: https://github.com/LogtalkDotOrg/logtalk3 at the top of the page, there's now a "Sponsor" button. Sponsorship tiers start at $2, hopefully allowing anyone to show their love and support for Logtalk. Even better, for the first year,...
by Paulo Moura
Tue Sep 17, 2019 5:14 pm
Forum: Announcements
Topic: Logtalk 3.30.0 Stable
Replies: 0
Views: 40

Logtalk 3.30.0 Stable

Hi, Logtalk 3.30.0 is now available for downloading at: https://logtalk.org/ This release adds new and improved lint checks, improves compilation of modules as objects, fixes documentation link issues, includes updated "debugger" and "tutor" tools, updates Textadept editor support, and provides port...
by Paulo Moura
Tue Sep 03, 2019 8:43 am
Forum: Announcements
Topic: Logtalk 3.29.0 Stable
Replies: 0
Views: 39

Logtalk 3.29.0 Stable

Hi, Logtalk 3.29.0 is now available for downloading at: https://logtalk.org/ This release adds new and improved lint checks, adds a "duplicated_clauses" compiler flag, fixes a text encoding issue when using the "include/1" directive, adds a new Handbook section on the compiler multi-pass implementat...
by Paulo Moura
Wed Aug 14, 2019 10:29 am
Forum: Announcements
Topic: Logtalk 3.28.0 Stable
Replies: 0
Views: 61

Logtalk 3.28.0 Stable

Hi, Logtalk 3.28.0 is now available for downloading at: https://logtalk.org/ This release adds a new "tutor" learning tool for helping new users understand compiler warning and error messages, improves compiler lint checks, fixes reporting of singleton variables in included files, improves the Windo...
by Paulo Moura
Tue Jun 18, 2019 1:24 pm
Forum: Announcements
Topic: Logtalk 3.27.0 Stable
Replies: 0
Views: 108

Logtalk 3.27.0 Stable

Hi, Logtalk 3.27.0 is now available for downloading at: https://logtalk.org/ This release adds a uses/1 directive for declaring object aliases, updates the uses/2 and use_module/2 directives to support using a parameter variable in place of the object or module identifier (thus allowing using implic...
by Paulo Moura
Wed May 08, 2019 3:01 pm
Forum: Announcements
Topic: Logtalk 3.26.0 Stable
Replies: 0
Views: 118

Logtalk 3.26.0 Stable

Hi, Logtalk 3.26.0 is now available for downloading at: https://logtalk.org/ This release features a new version of the diagrams tool with significant improvements and includes a new timeout portability library, an updated Metagol port, and updated examples. For details and a complete list of change...
by Paulo Moura
Tue Apr 02, 2019 10:52 am
Forum: Announcements
Topic: Logtalk 3.25.0 Stable
Replies: 0
Views: 172

Logtalk 3.25.0 Stable

Hi, Logtalk 3.25.0 is now available for downloading at: https://logtalk.org/ This release focus on compiler linter and QuickCheck improvements. It adds 15 new linter checks, notably for possibly non-steadfast predicates, predicate and variable names that do not follow coding guidelines, repeat loops...
by Paulo Moura
Thu Feb 28, 2019 12:22 pm
Forum: Announcements
Topic: Logtalk 3.24.0 Stable
Replies: 0
Views: 165

Logtalk 3.24.0 Stable

Hi, Logtalk 3.24.0 is now available for downloading at: https://logtalk.org/ This release adds a threaded_cancel/1 built-in predicate; includes compiler linter improvements; adds new handbook sections and includes several improvements to existing sections; adds a file/stream reader library; improves...
by Paulo Moura
Wed Jan 30, 2019 10:08 pm
Forum: Announcements
Topic: Logtalk 3.23.0 Stable
Replies: 0
Views: 189

Logtalk 3.23.0 Stable

Hi, Logtalk 3.23.0 is now available for downloading at: http://logtalk.org/ This release includes compiler and documentation improvements and fixes; new coroutining and list zipper libraries; improved expected and optional term libraries; a new `debug_messages` tool; improvements to the `lgtunit` to...
by Paulo Moura
Tue Jan 29, 2019 3:20 am
Forum: Help
Topic: Q on objects
Replies: 6
Views: 538

Re: Q on objects

Are you already using the learning by examples guide?

https://logtalk.org/learning.html
by Paulo Moura
Tue Jan 29, 2019 3:01 am
Forum: Help
Topic: Q on objects
Replies: 6
Views: 538

Re: Q on objects

The conforms_to_protocol/2 predicate returns both objects and categories that conform to a protocol: https://logtalk.org/manuals/refman/predicates/conforms_to_protocol_2_3.html But you can only send messages to objects. You get that error because “weapon” is a category. Try: ?- current_object(Object...
by Paulo Moura
Mon Jan 28, 2019 2:20 pm
Forum: Help
Topic: Q on objects
Replies: 6
Views: 538

Re: Q on objects

A first approach would be to enumerate the currently defined objects and send to them the size/1 message: | ?- current_object(Object), Object::size(small). But this would result in predicate existence errors for any object that does not understand the size/1 message. To avoid these errors, we could ...
by Paulo Moura
Tue Dec 18, 2018 9:45 am
Forum: Announcements
Topic: Logtalk 3.22.0 Stable
Replies: 0
Views: 223

Logtalk 3.22.0 Stable

Hi, Logtalk 3.22.0 is now available for downloading at: http://logtalk.org/ This release provides new and improved handbook sections; improves the readability of PDF and HTML versions of the handbook and the APIs documentation; adds sample implementations of object-oriented behavioral, creational, a...