Logtalk 2.11.0 files.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@462 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
722b798507
commit
81c503970a
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
@ -10,6 +10,25 @@ RELEASE NOTES
|
||||
=============
|
||||
|
||||
|
||||
2.12.0 - May ??, 2002
|
||||
|
||||
Updated config file for OpenProlog 1.1b5.
|
||||
|
||||
|
||||
2.11.0 - April 22, 2002
|
||||
|
||||
Added a "smart compilation" feature to the Logtalk compiler, controlled
|
||||
by a "smart_compilation" flag. Only available in Prolog compilers that
|
||||
provide access to file modification dates.
|
||||
|
||||
Added a "startup_message" flag to control printing of the Logtalk banner
|
||||
at startup.
|
||||
|
||||
Reworked Logtalk pre-processor compilation and loading reports. Compiler
|
||||
option "report" now togles between normal reporting (as specified by the
|
||||
other flags) and silent compilation/loading of source files.
|
||||
|
||||
|
||||
2.10.0 - April 5, 2002
|
||||
|
||||
Scope of object asserted predicates for which there is no declaration is
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -4,14 +4,14 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Logtalk 2.10.0 Documentation</title>
|
||||
<title>Logtalk 2.11.0 Documentation</title>
|
||||
<link rel=stylesheet href="styles.css" type="text/css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<hr />
|
||||
<h1 class="center">Logtalk 2.10.0</h1>
|
||||
<h1 class="center">Logtalk 2.11.0</h1>
|
||||
|
||||
<h3 class="center">Documentation</h3>
|
||||
<p class="center">
|
||||
@ -44,7 +44,7 @@ Portugal
|
||||
|
||||
<hr />
|
||||
<p class="center">
|
||||
Last updated on: April 2, 2002
|
||||
Last updated on: April 22, 2002
|
||||
</p>
|
||||
<p class="center">
|
||||
<a href="http://validator.w3.org/check/referer"><img src="vh401.gif" alt="Valid HTML 4.01!" width="88" height="31"></a>
|
||||
|
@ -4,7 +4,7 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Logtalk 2.10.0 Reference Manual</title>
|
||||
<title>Logtalk Reference Manual</title>
|
||||
<link rel=stylesheet href="../styles.css" type="text/css">
|
||||
</head>
|
||||
|
||||
@ -188,7 +188,7 @@
|
||||
<strong><a href="../userman/index.html">User manual</a> | <a href="../tutorial/index.html">Tutorial</a> | <a href="../bibliography.html">Bibliography</a> | <a href="../glossary.html">Glossary</a></strong>
|
||||
</p>
|
||||
<p class="center">
|
||||
Last updated on: April 2, 2002
|
||||
Last updated on: April 21, 2002
|
||||
</p>
|
||||
<hr />
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Logtalk 2.10.0 Tutorial</title>
|
||||
<title>Logtalk Tutorial</title>
|
||||
<link rel=stylesheet href="../styles.css" type="text/css">
|
||||
</head>
|
||||
|
||||
@ -48,7 +48,7 @@
|
||||
<strong><a href="../userman/index.html">User manual</a> | <a title="Consult reference manual" href="../refman/index.html">Reference manual</a> | <a href="../bibliography.html">Bibliography</a> | <a href="../glossary.html">Glossary</a></strong>
|
||||
</p>
|
||||
<p class="center">
|
||||
Last updated on: April 2, 2002
|
||||
Last updated on: April 21, 2002
|
||||
</p>
|
||||
<hr />
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<title>Logtalk 2.10.0 User Manual</title>
|
||||
<title>Logtalk User Manual</title>
|
||||
<link rel=stylesheet href="../styles.css" type="text/css">
|
||||
</head>
|
||||
|
||||
@ -199,6 +199,8 @@
|
||||
<dd><a name="installing_starting" href="installing.html#starting">Starting Logtalk</a></dd>
|
||||
<dd><a name="installing_compiling" href="installing.html#compiling">Compiling and loading your programs</a></dd>
|
||||
<dd><a name="installing_options" href="installing.html#options">Compiler option flags</a></dd>
|
||||
<dd><a name="installing_smart" href="installing.html#smart">Smart compilation of source files</a></dd>
|
||||
<dt><a name="installing_batch" href="installing.html#batch">Using Logtalk for batch processing</a></dt>
|
||||
</dl>
|
||||
|
||||
<h4><a name="programming" href="programming.html">Programming in Logtalk</a></h4>
|
||||
@ -216,7 +218,7 @@
|
||||
<strong><a title="Consult reference manual" href="../refman/index.html">Reference manual</a> | <a href="../tutorial/index.html">Tutorial</a> | <a href="../bibliography.html">Bibliography</a> | <a href="../glossary.html">Glossary</a></strong>
|
||||
</p>
|
||||
<p class="center">
|
||||
Last updated on: April 2, 2002
|
||||
Last updated on: April 22, 2002
|
||||
</p>
|
||||
<hr />
|
||||
|
||||
|
@ -170,23 +170,23 @@ To start a Logtalk session just:
|
||||
<li>Load the Logtalk compiler/pre-processor and runtime files contained in the <code>compiler</code> subdirectory.</li>
|
||||
</ol>
|
||||
<p>
|
||||
Note that the both configuration files and compiler/pre-processor files are Prolog source files. The predicate called to load (and compile) them depends on your Prolog compiler. In case of doubt, consult your Prolog compiler reference manual or take a look at the definition of the predicate <code>lgt_load_prolog_code/1</code> in the configuration file.
|
||||
Note that the both configuration files and compiler/pre-processor files are Prolog source files. The predicate called to load (and compile) them depends on your Prolog compiler. In case of doubt, consult your Prolog compiler reference manual or take a look at the definition of the predicate <code>lgt_load_prolog_code/1</code> in the corresponding configuration file.
|
||||
</p>
|
||||
|
||||
<h3><a class="back" title="Return to index" name="compiling" href="index.html#installing_compiling">Compiling and loading your programs</a></h3>
|
||||
|
||||
<p>
|
||||
Your programs will be made of source files containing your objects, protocols and categories. After changing the Prolog working directory to the one containing your files, you can compile them by calling the Logtalk built-in predicate
|
||||
Your programs will be made of source files containing your objects, protocols and categories. After changing the Prolog working directory to the one containing your files, you can compile them to disk by calling the Logtalk built-in predicate
|
||||
<a title="Consult reference manual" href="../refman/builtins/logtalk_compile1.html"><code>logtalk_compile/1</code></a>:
|
||||
</p>
|
||||
<pre>
|
||||
| ?- logtalk_compile([source_file1, source_file2, ...]).
|
||||
</pre>
|
||||
<p>
|
||||
This predicate runs the pre-processor on each argument file and, if no fatal errors are found, outputs the Prolog source files that can then be consulted or compiled in the usual way by your Prolog compiler. Note that the predicate argument must be a list of entity/file names, not file paths.
|
||||
This predicate runs the pre-processor on each argument file and, if no fatal errors are found, outputs Prolog source files that can then be consulted or compiled in the usual way by your Prolog compiler. Note that the predicate argument must be a list of entity names, not file names (or paths).
|
||||
</p>
|
||||
<p>
|
||||
To compile and also load to memory the source files we can use the Logtalk built-in predicate <a title="Consult reference manual" href="../refman/builtins/logtalk_load1.html"><code>logtalk_load/1</code></a>:
|
||||
To compile to disk and also load into memory the source files we can use the Logtalk built-in predicate <a title="Consult reference manual" href="../refman/builtins/logtalk_load1.html"><code>logtalk_load/1</code></a>:
|
||||
</p>
|
||||
<pre>
|
||||
| ?- logtalk_load([source_file1, source_file2, ...]).
|
||||
@ -255,19 +255,23 @@ You can use the following options:
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><code>report(Option)</code></dt>
|
||||
<dd>Controls reporting of each loaded object, category, or protocol. Possible option values are <code>on</code> (the usual default) and <code>off</code>.</dd>
|
||||
<dd>Controls reporting of each compiled or loaded object, category, or protocol (including compilation and loading warnings). Possible option values are <code>on</code> (the usual default) and <code>off</code> (silent compilation and loading).</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><code>iso_initialization_dir(Option)</code></dt>
|
||||
<dd>Controls the use of the <code>initialization/1</code> directive in the Logtalk generated Prolog code. Possible option values are <code>true</code> (if the Prolog compiler supports the ISO definition of the directive) and <code>false</code> (if the Prolog compiler either does not implement the directive or if the implementation does not conform to the ISO standard).</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt><code>smart_compilation(Option)</code></dt>
|
||||
<dd>Controls the use of smart compilation of source files to avoid recompiling files that are unchanged since the last time they are compiled. Possible option values are <code>on</code> and <code>off</code> (the usual default).</dd>
|
||||
</dl>
|
||||
|
||||
<p>
|
||||
We may also change the default options values from the ones loaded from the config file by using the <a title="Consult reference manual" href="../refman/builtins/set_logtalk_flag2.html"><code>set_logtalk_flag/2</code></a> built-in predicate. For example:
|
||||
</p>
|
||||
<pre>
|
||||
| ?- set_logtalk_flag(xml, off).
|
||||
</pre>
|
||||
</p>
|
||||
<p>
|
||||
The current values of the default flags can be enumerated using the <a title="Consult reference manual" href="../refman/builtins/current_logtalk_flag2.html"><code>current_logtalk_flag/2</code></a> built-in predicate:
|
||||
</p>
|
||||
@ -278,12 +282,40 @@ The current values of the default flags can be enumerated using the <a title="Co
|
||||
yes
|
||||
</pre>
|
||||
|
||||
<h3><a class="back" title="Return to index" name="smart" href="index.html#installing_smart">Smart compilation of source files</a></h3>
|
||||
|
||||
<p>
|
||||
If the Prolog compiler that you are using supports retrieving of file modification dates, then you can turn on smart compilation of source files to avoid recompiling files that have not been modified since last compilation.
|
||||
</p>
|
||||
<p>
|
||||
Smart compilation of source files is usually off by default. You can turn it on by changing the default flag value in the configuration file, by using the corresponding compiler option with the compiling and loading built-in predicates, or, for the remaining of a working session, by using the call:
|
||||
</p>
|
||||
<pre>
|
||||
| ?- set_logtalk_flag(smart_compilation, on).
|
||||
</pre>
|
||||
<p>
|
||||
Some caveats that you should be aware. First, some warnings that might be produced when compiling a source file will not show up if the corresponding object file is up-to-date because the source file is not being (re)compiled. Second, if you are using several Prolog compilers with Logtalk, be sure to perform the first compilation of your source files with smart compilation turned off: the intermediate Prolog files generated by the Logtalk pre-processor may be not compatible across Prolog compilers or even for the same Prolog compiler across operating systems (due to different end-of-line characters).
|
||||
</p>
|
||||
|
||||
<hr />
|
||||
<h2><a class="back" title="Return to index" name="batch" href="index.html#installing_batch">Using Logtalk for batch processing</a></h2>
|
||||
|
||||
<p>
|
||||
If you use Logtalk for batch processing, you probably want to supress most, if not all, banners, messages, and warnings that are normally printed by the system.
|
||||
</p>
|
||||
<p>
|
||||
To supress printing of the Logtalk startup banner, turn off the option <code>startup_message</code> in the config file that you are using.
|
||||
</p>
|
||||
<p>
|
||||
To supress printing of compiling and loading messages (including compiling warnings but not error messages), turn off the option <code>report</code> in the used config file.
|
||||
</p>
|
||||
|
||||
<hr />
|
||||
<p class="center">
|
||||
<strong><a href="configuration.html">Previous</a> | <a href="programming.html">Next</a> | <a href="index.html">Table of Contents</a> | <a href="../bibliography.html">Bibliography</a> | <a href="../glossary.html">Glossary</a></strong>
|
||||
</p>
|
||||
<p class="center">
|
||||
Last updated on: February 9, 2002
|
||||
Last updated on: April 22, 2002
|
||||
</p>
|
||||
<hr />
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
=================================================================
|
||||
Logtalk - Object oriented extension to Prolog
|
||||
Release 2.10.0
|
||||
Release 2.11.0
|
||||
|
||||
Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
=================================================================
|
||||
|
@ -8,7 +8,7 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%
|
||||
% Logtalk - Object oriented extension to Prolog
|
||||
% Release 2.10.0
|
||||
% Release 2.11.0
|
||||
%
|
||||
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
%
|
||||
|
@ -14,7 +14,7 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%
|
||||
% Logtalk - Object oriented extension to Prolog
|
||||
% Release 2.10.0
|
||||
% Release 2.11.0
|
||||
%
|
||||
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
%
|
||||
|
@ -9,7 +9,7 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%
|
||||
% Logtalk - Object oriented extension to Prolog
|
||||
% Release 2.10.0
|
||||
% Release 2.11.0
|
||||
%
|
||||
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
%
|
||||
|
@ -9,7 +9,7 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%
|
||||
% Logtalk - Object oriented extension to Prolog
|
||||
% Release 2.10.0
|
||||
% Release 2.11.0
|
||||
%
|
||||
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
%
|
||||
|
@ -14,7 +14,7 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%
|
||||
% Logtalk - Object oriented extension to Prolog
|
||||
% Release 2.10.0
|
||||
% Release 2.11.0
|
||||
%
|
||||
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
%
|
||||
|
@ -3,7 +3,7 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%
|
||||
% Logtalk - Object oriented extension to Prolog
|
||||
% Release 2.10.0
|
||||
% Release 2.11.0
|
||||
%
|
||||
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
%
|
||||
|
@ -15,7 +15,7 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%
|
||||
% Logtalk - Object oriented extension to Prolog
|
||||
% Release 2.10.0
|
||||
% Release 2.11.0
|
||||
%
|
||||
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
%
|
||||
|
@ -12,7 +12,7 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%
|
||||
% Logtalk - Object oriented extension to Prolog
|
||||
% Release 2.10.0
|
||||
% Release 2.11.0
|
||||
%
|
||||
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
%
|
||||
|
@ -2,7 +2,7 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%
|
||||
% Logtalk - Object oriented extension to Prolog
|
||||
% Release 2.10.0
|
||||
% Release 2.11.0
|
||||
%
|
||||
% Copyright (c) 1998-2002 Paulo Moura. All Rights Reserved.
|
||||
%
|
||||
@ -1019,7 +1019,7 @@ logtalk_version(Major, Minor, Patch) :-
|
||||
\+ integer(Patch),
|
||||
throw(error(type_error(integer, Patch), logtalk_version(Major, Minor, Patch))).
|
||||
|
||||
logtalk_version(2, 10, 0).
|
||||
logtalk_version(2, 11, 0).
|
||||
|
||||
|
||||
|
||||
@ -1856,34 +1856,41 @@ lgt_load_entities([Entity| Entities]) :-
|
||||
% compiles to disk and then loads to memory an entity
|
||||
|
||||
lgt_load_entity(Entity) :-
|
||||
(lgt_compiler_option(report, on) ->
|
||||
nl, write('>>> compiling '), writeq(Entity), nl
|
||||
;
|
||||
true),
|
||||
lgt_compile_entity(Entity),
|
||||
lgt_entity_(Type, _, _, _),
|
||||
(lgt_current_entity(Entity) ->
|
||||
write('WARNING! redefining '), write(Entity), write(' '),
|
||||
writeq(Type), nl
|
||||
(lgt_compiler_option(report, on) ->
|
||||
lgt_report_redefined_entity(Entity)
|
||||
;
|
||||
true),
|
||||
lgt_file_name(prolog, Entity, File),
|
||||
lgt_load_prolog_code(File),
|
||||
(lgt_compiler_option(report, on) ->
|
||||
write('<<< '), writeq(Entity),
|
||||
write(' '), write(Type), write(' loaded'), nl
|
||||
write('<<< '), writeq(Entity), write(' loaded'), nl
|
||||
;
|
||||
true).
|
||||
|
||||
|
||||
lgt_current_entity(Obj) :-
|
||||
lgt_current_object_(Obj, _, _, _, _).
|
||||
|
||||
lgt_current_entity(Ptc) :-
|
||||
lgt_current_protocol_(Ptc, _).
|
||||
% lgt_report_redefined_entity(+atom)
|
||||
%
|
||||
% prints a warning if an entity of the same name is already loaded
|
||||
% does not work for parametric objects...
|
||||
|
||||
lgt_current_entity(Ctg) :-
|
||||
lgt_current_category_(Ctg, _).
|
||||
lgt_report_redefined_entity(Entity) :-
|
||||
lgt_current_object_(Entity, _, _, _, _),
|
||||
!,
|
||||
write('WARNING! redefining '), write(Entity), write(' object'), nl.
|
||||
|
||||
lgt_report_redefined_entity(Entity) :-
|
||||
lgt_current_protocol_(Entity, _),
|
||||
!,
|
||||
write('WARNING! redefining '), write(Entity), write(' protocol'), nl.
|
||||
|
||||
lgt_report_redefined_entity(Entity) :-
|
||||
lgt_current_category_(Entity, _),
|
||||
!,
|
||||
write('WARNING! redefining '), write(Entity), write(' category'), nl.
|
||||
|
||||
lgt_report_redefined_entity(_).
|
||||
|
||||
|
||||
|
||||
@ -1904,10 +1911,50 @@ lgt_compile_entities([Entity| Entities]) :-
|
||||
% compiles to disk an entity
|
||||
|
||||
lgt_compile_entity(Entity) :-
|
||||
lgt_compiler_option(smart_compilation, on),
|
||||
\+ lgt_needs_recompilation(Entity),
|
||||
!,
|
||||
(lgt_compiler_option(report, on) ->
|
||||
nl, write('>>> '), writeq(Entity), write(' is up-to-date'), nl
|
||||
;
|
||||
true).
|
||||
|
||||
lgt_compile_entity(Entity) :-
|
||||
(lgt_compiler_option(report, on) ->
|
||||
nl, write('>>> compiling '), writeq(Entity), nl
|
||||
;
|
||||
true),
|
||||
lgt_tr_entity(Entity),
|
||||
lgt_write_tr_entity(Entity),
|
||||
lgt_write_entity_doc(Entity),
|
||||
lgt_report_unknown_entities.
|
||||
lgt_report_unknown_entities,
|
||||
(lgt_compiler_option(report, on) ->
|
||||
write('>>> '), writeq(Entity), write(' compiled'), nl
|
||||
;
|
||||
true).
|
||||
|
||||
|
||||
|
||||
% lgt_needs_recompilation(+atom)
|
||||
%
|
||||
% source file needs recompilation
|
||||
|
||||
lgt_needs_recompilation(Entity) :-
|
||||
lgt_file_name(prolog, Entity, File),
|
||||
\+ lgt_file_exists(File).
|
||||
|
||||
lgt_needs_recompilation(Entity) :-
|
||||
lgt_file_name(xml, Entity, File),
|
||||
lgt_compiler_option(xml, on),
|
||||
\+ lgt_file_exists(File).
|
||||
|
||||
lgt_needs_recompilation(Entity) :-
|
||||
lgt_file_name(logtalk, Entity, Source),
|
||||
lgt_file_name(prolog, Entity, Object),
|
||||
(lgt_compare_file_mtimes(Result, Source, Object) ->
|
||||
Result = '>'
|
||||
;
|
||||
true).
|
||||
|
||||
|
||||
|
||||
@ -2008,7 +2055,8 @@ lgt_tr_file(Stream, Term) :-
|
||||
lgt_report_singletons([], _).
|
||||
|
||||
lgt_report_singletons([Singleton| Singletons], Term) :-
|
||||
lgt_compiler_option(singletons, warning) ->
|
||||
(lgt_compiler_option(singletons, warning),
|
||||
lgt_compiler_option(report, on)) ->
|
||||
write('WARNING!'),
|
||||
\+ \+ ( lgt_report_singletons_aux([Singleton| Singletons], Term, Names),
|
||||
write(' singleton variables: '), write(Names), nl,
|
||||
@ -2604,6 +2652,7 @@ lgt_tr_head(Head, _, _) :-
|
||||
lgt_tr_head(Head, _, _) :-
|
||||
lgt_lgt_built_in(Head),
|
||||
lgt_compiler_option(lgtredef, warning),
|
||||
lgt_compiler_option(report, on),
|
||||
\+ lgt_redefined_built_in_(Head, _, _), % not already reported?
|
||||
functor(Head, Functor, Arity),
|
||||
write('WARNING! redefining a Logtalk built-in predicate: '),
|
||||
@ -2616,6 +2665,7 @@ lgt_tr_head(Head, _, _) :-
|
||||
lgt_tr_head(Head, _, _) :-
|
||||
lgt_pl_built_in(Head),
|
||||
lgt_compiler_option(plredef, warning),
|
||||
lgt_compiler_option(report, on),
|
||||
\+ lgt_redefined_built_in_(Head, _, _), % not already reported?
|
||||
functor(Head, Functor, Arity),
|
||||
write('WARNING! redefining a Prolog built-in predicate: '),
|
||||
@ -2828,6 +2878,7 @@ lgt_tr_body(Pred, _, _) :-
|
||||
lgt_built_in(Pred),
|
||||
\+ lgt_iso_def_pred(Pred),
|
||||
lgt_compiler_option(portability, warning),
|
||||
lgt_compiler_option(report, on),
|
||||
functor(Pred, Functor, Arity),
|
||||
write('WARNING! non-ISO defined built-in predicate call: '),
|
||||
writeq(Functor/Arity), nl,
|
||||
@ -3510,7 +3561,8 @@ lgt_add_referenced_category(Ctg) :-
|
||||
% (if the corresponding compiler option is not set to "silent")
|
||||
|
||||
lgt_report_unknown_entities :-
|
||||
lgt_compiler_option(unknown, warning) ->
|
||||
(lgt_compiler_option(unknown, warning),
|
||||
lgt_compiler_option(report, on)) ->
|
||||
lgt_report_unknown_objects,
|
||||
lgt_report_unknown_protocols,
|
||||
lgt_report_unknown_categories
|
||||
@ -4515,7 +4567,8 @@ lgt_find_misspelt_calls :-
|
||||
lgt_report_misspelt_calls([]).
|
||||
|
||||
lgt_report_misspelt_calls([Pred| Preds]) :-
|
||||
lgt_compiler_option(misspelt, warning) ->
|
||||
(lgt_compiler_option(misspelt, warning),
|
||||
lgt_compiler_option(report, on)) ->
|
||||
write('WARNING! these static predicates are called but never defined: '),
|
||||
writeq([Pred| Preds]), nl
|
||||
;
|
||||
@ -5219,6 +5272,9 @@ lgt_valid_compiler_option(portability(Option)) :-
|
||||
lgt_valid_compiler_option(report(Option)) :-
|
||||
once((Option == on; Option == off)).
|
||||
|
||||
lgt_valid_compiler_option(smart_compilation(Option)) :-
|
||||
once((Option == on; Option == off)).
|
||||
|
||||
|
||||
|
||||
% lgt_valid_flag(@nonvar)
|
||||
@ -5235,6 +5291,7 @@ lgt_valid_flag(lgtredef).
|
||||
lgt_valid_flag(plredef).
|
||||
lgt_valid_flag(portability).
|
||||
lgt_valid_flag(report).
|
||||
lgt_valid_flag(smart_compilation).
|
||||
|
||||
|
||||
|
||||
@ -5842,9 +5899,12 @@ lgt_iso_def_pred(halt(_)).
|
||||
|
||||
|
||||
lgt_banner :-
|
||||
logtalk_version(Major, Minor, Patch),
|
||||
write('Logtalk '), write(Major), write('.'), write(Minor), write('.'), write(Patch), nl,
|
||||
write('Copyright (c) 1998-2002 Paulo Moura'), nl.
|
||||
lgt_compiler_option(startup_message, on) ->
|
||||
logtalk_version(Major, Minor, Patch),
|
||||
write('Logtalk '), write(Major), write('.'), write(Minor), write('.'), write(Patch), nl,
|
||||
write('Copyright (c) 1998-2002 Paulo Moura'), nl
|
||||
;
|
||||
true.
|
||||
|
||||
|
||||
:- initialization(lgt_banner).
|
||||
|
@ -1,11 +1,11 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%
|
||||
% Logtalk - Object oriented extension to Prolog
|
||||
% Release 2.10.0
|
||||
% Release 2.11.0
|
||||
%
|
||||
% configuration file for YAP Prolog 4.3.x
|
||||
%
|
||||
% last updated: December 30, 2001
|
||||
% last updated: April 19, 2002
|
||||
%
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
@ -187,6 +187,10 @@ lgt_default_flag(portability, silent).
|
||||
|
||||
lgt_default_flag(report, on).
|
||||
|
||||
lgt_default_flag(smart_compilation, off).
|
||||
|
||||
lgt_default_flag(startup_message, on).
|
||||
|
||||
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
@ -241,6 +245,16 @@ lgt_load_prolog_code(File) :-
|
||||
reconsult(File).
|
||||
|
||||
|
||||
% lgt_compare_file_mtimes(?atom, +atom, +atom)
|
||||
%
|
||||
% compare file modification times
|
||||
|
||||
lgt_compare_file_mtimes(Result, File1, File2) :-
|
||||
file_property(File1, mod_time(Time1)),
|
||||
file_property(File2, mod_time(Time2)),
|
||||
compare(Result, Time1, Time2).
|
||||
|
||||
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%
|
||||
|
Reference in New Issue
Block a user