Search found 463 matches

by Paulo Moura
Mon Apr 17, 2017 10:58 am
Forum: Announcements
Topic: Logtalk 3.10.5 Stable
Replies: 0
Views: 49

Logtalk 3.10.5 Stable

Hi, Logtalk 3.10.5 is now available for downloading at: http://logtalk.org/ This release fixes two compiler bugs and includes improvements and fixes for testing support. For details and a complete list of changes, please consult the release notes at: https://github.com/LogtalkDotOrg/logtalk3/blob/ma...
by Paulo Moura
Thu Apr 06, 2017 2:20 pm
Forum: Announcements
Topic: Logtalk 3.10.4 Stable
Replies: 0
Views: 41

Logtalk 3.10.4 Stable

Hi, Logtalk 3.10.4 is now available for downloading at: http://logtalk.org/ This release is sponsored by Kyndi Inc and adds support for generating code coverage reports in XML/HTML format for use in continuous integration servers. Also included are compiler, documentation, library, scripts, tests, e...
by Paulo Moura
Mon Mar 20, 2017 7:38 pm
Forum: Announcements
Topic: Logtalk 3.10.3 Stable
Replies: 0
Views: 104

Logtalk 3.10.3 Stable

Hi, Logtalk 3.10.3 is now available for downloading at: http://logtalk.org/ This release fixes a regression in the previous stable release in the compilation of multifile predicate clauses that make calls to the ::/1-2 control constructs and also fixes a spurious choice-point when using the "type" l...
by Paulo Moura
Fri Mar 17, 2017 11:23 am
Forum: Announcements
Topic: Logtalk chat room available
Replies: 0
Views: 77

Logtalk chat room available

Hi,

A Logtalk chat room is now available at Gitter:

https://gitter.im/LogtalkDotOrg/logtalk3

You're welcome to join for live discussion on Logtalk.

P.S. Gitter supports both GitHub and Twitter logins.
by Paulo Moura
Mon Mar 13, 2017 1:29 am
Forum: Announcements
Topic: Logtalk 3.10.2 Stable
Replies: 0
Views: 156

Logtalk 3.10.2 Stable

Hi, Logtalk 3.10.2 is now available for downloading at: http://logtalk.org/ This release generalizes support for multifile predicates allowing them to be declared protected or private, fixes some minor issues when printing compiler errors and warnings, adds support for operating-system types and str...
by Paulo Moura
Fri Mar 03, 2017 1:32 am
Forum: Announcements
Topic: Logtalk 3.10.1 Stable
Replies: 0
Views: 91

Logtalk 3.10.1 Stable

Hi, Logtalk 3.10.1 is now available for downloading at: http://logtalk.org/ This is mainly a bug fix release for issues found by users of the previous stable version. For details and a complete list of changes, please consult the release notes at: https://github.com/LogtalkDotOrg/logtalk3/blob/maste...
by Paulo Moura
Mon Feb 27, 2017 7:45 pm
Forum: Announcements
Topic: Logtalk 3.10.0 Stable
Replies: 0
Views: 115

Logtalk 3.10.0 Stable

Hi, Logtalk 3.10.0 is now available for downloading at: http://logtalk.org/ This release is sponsored by Kyndi Inc and includes several noteworthy changes. It completes support for include/1 directives, notably when reporting compiler errors and warnings. It changes debug events to account for predi...
by Paulo Moura
Mon Feb 27, 2017 10:43 am
Forum: Help
Topic: About file path auto expansion in several library(os) predicates
Replies: 4
Views: 360

Re: About file path auto expansion in several library(os) predicates

If you take security seriously, you validate all input data. Otherwise, you're already in trouble independently of what any library might do. As I mentioned before, there are portability reasons to expand all paths. Another example: try to create a directory named '$EDITOR' (with the environment var...
by Paulo Moura
Sun Feb 26, 2017 11:21 pm
Forum: Help
Topic: About file path auto expansion in several library(os) predicates
Replies: 4
Views: 360

Re: About file path auto expansion in several library(os) predicates

Any sensible task that cannot be performed do to the implicit expansion? The expansion eventually happens in any system ... Note that there is no Prolog standard (official or de facto) for operating-systems access. Worse, some Prolog systems don't even provide a uniform API across different operatin...
by Paulo Moura
Sun Feb 26, 2017 2:19 am
Forum: Help
Topic: How to initialize seed for library(random)?
Replies: 9
Views: 346

Re: How to initialize seed for library(random)?

The os::time_stamp/1 predicate returns an opaque term that is comparable but this term is not a number for all supported backend Prolog systems (for the simple reason that no all systems provide the necessary functionality). For a portable solution, I would suggest using instead the os::date_time/7 ...
by Paulo Moura
Sat Feb 25, 2017 12:55 pm
Forum: Help
Topic: How to initialize seed for library(random)?
Replies: 9
Views: 346

Re: How to initialize seed for library(random)?

I'm currently accessing the performance gains of frandom over random. The speedup comes from avoiding use of dynamic binding to retrieve and save the random seed. But several predicates (e.g. sequence/4 are already optimized to avoid that penalty). Depending on the results, I may drop frandom altoge...
by Paulo Moura
Sat Feb 25, 2017 11:57 am
Forum: Help
Topic: How to initialize seed for library(random)?
Replies: 9
Views: 346

Re: How to initialize seed for library(random)?

Committed some improvements to the random library:

https://github.com/LogtalkDotOrg/logtal ... 7df07a0e1b

Feedback welcome. Looking into the feasibility of also adding a randomize/0 predicate (portability is the possible issue here).
by Paulo Moura
Sat Feb 25, 2017 11:00 am
Forum: Help
Topic: How to initialize seed for library(random)?
Replies: 9
Views: 346

Re: How to initialize seed for library(random)?

The current random library is a portable pseudo-random number generator. The idea of the get_seed/1 and set_seed/1, is to allow reproducibility as explained in the library documentation: http://logtalk.org/library/randomp_0.html Considering that we want to keep the library portable, a solution for w...
by Paulo Moura
Tue Feb 21, 2017 11:27 am
Forum: Help
Topic: Undefined predicate in Learn Logtalk in Y Minutes
Replies: 2
Views: 167

Re: Undefined predicate in Learn Logtalk in Y Minutes

Yes, it's a typo in the tutorial. Thanks for reporting. I will submit a fix.
by Paulo Moura
Mon Feb 20, 2017 3:11 pm
Forum: Wish list
Topic: Order of contents in User Manual
Replies: 3
Views: 407

Re: Order of contents in User Manual

There isn't currently any public TODO or roadmap.