Search found 489 matches

by Paulo Moura
Tue Jun 18, 2019 1:24 pm
Forum: Announcements
Topic: Logtalk 3.27.0 Stable
Replies: 0
Views: 43

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

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

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

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

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

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

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

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

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

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

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

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

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...
by Paulo Moura
Mon May 21, 2018 2:28 pm
Forum: Announcements
Topic: Logtalk 3.17.0 Stable
Replies: 0
Views: 370

Logtalk 3.17.0 Stable

Hi, Logtalk 3.17.0 is now available for downloading at: http://logtalk.org/ This release improves dynamic binding performance; adds a new lint flag for detecting suspicious calls; adds a new make target for helping benchmarking performance; fixes a multi-threading regression bug; includes improvemen...
by Paulo Moura
Tue Apr 24, 2018 3:47 pm
Forum: Announcements
Topic: Logtalk 3.16.0 Stable
Replies: 0
Views: 366

Logtalk 3.16.0 Stable

Hi, Logtalk 3.16.0 is now available for downloading at: http://logtalk.org/ This release improves support for embedding Logtalk and Logtalk applications, including in saved states and executables; adds new lint flags for more fine-grained control of compiler warnings; changes all exception context a...