Search found 491 matches

by Paulo Moura
Tue Sep 03, 2019 8:43 am
Forum: Announcements
Topic: Logtalk 3.29.0 Stable
Replies: 0
Views: 12

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: 21

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: 66

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: 86

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: 121

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: 128

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: 153

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: 494

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: 494

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: 494

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: 196

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...
by Paulo Moura
Tue Oct 30, 2018 10:23 pm
Forum: Announcements
Topic: Logtalk 3.20.1 Stable
Replies: 0
Views: 225

Logtalk 3.20.1 Stable

Hi, Logtalk 3.21.0 is now available for downloading at: http://logtalk.org/ This release adds a contributor code of conduct; includes several improvements to the manuals; moves the manuals and the core, library, tools, and contributions APIs documentation to Sphinx using the Read the Docs theme; inc...
by Paulo Moura
Wed Sep 05, 2018 11:45 am
Forum: Announcements
Topic: Logtalk 3.20.0 Stable
Replies: 0
Views: 400

Logtalk 3.20.0 Stable

Hi, Logtalk 3.20.0 is now available for downloading at: http://logtalk.org/ This release adds a set of entry level examples, improves lint checks for missing meta-predicate directives, improves support for lambda expressions in grammar rules, fixes some optimization bugs, improves library type-check...
by Paulo Moura
Wed Aug 01, 2018 2:11 pm
Forum: Announcements
Topic: Logtalk 3.19.0 Stable
Replies: 0
Views: 312

Logtalk 3.19.0 Stable

Hi, Logtalk 3.19.0 is now available for downloading at: http://logtalk.org/ This release removes all deprecated Logtalk 2.x features; improves the reference manual; adds new library predicates for number comparison; adds new ramdom library predicates; adds cyclomatic complexity and number of entity ...
by Paulo Moura
Tue Jun 26, 2018 2:07 pm
Forum: Announcements
Topic: Logtalk 3.18.0 Stable
Replies: 0
Views: 346

Logtalk 3.18.0 Stable

Hi, Logtalk 3.18.0 is now available for downloading at: http://logtalk.org/ This release adds a new lint checks for detecting suspicious calls and a compiler flag, suspicious_calls/1, to control printing of suspicious call warnings, which now also print the recommended alternative call; improves the...