Logtalk 2.17.2 files.

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1076 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
pmoura
2004-06-13 18:04:28 +00:00
parent 9543ecf436
commit d029e6c3fc
170 changed files with 2022 additions and 772 deletions

View File

@@ -1,6 +1,6 @@
=================================================================
Logtalk - Object oriented extension to Prolog
Release 2.17.1
Release 2.17.2
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
=================================================================
@@ -13,4 +13,13 @@ ph
prototype-based version
ch
class-based version
class-based version
Both versions define the following hierarchy of objects:
shape
polygon
regular_polygon
square
q1
q2

View File

@@ -1,17 +1,18 @@
=================================================================
Logtalk - Object oriented extension to Prolog
Release 2.17.1
Release 2.17.2
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
=================================================================
To load all objects in this example consult the ch.loader utility
file (note that the *.loader files are Prolog files).
To load all entities in this example compile and load the loader file:
You will need to also load the objects in the "roots" example.
| ?- logtalk_load(loader).
You will need to consult the following files in the library directory:
events.loader, types.loader, and hierarchies.loader. Alternatively, you
may load the library/all.loader file to load all library entities.
You will need to also load the objects in the roots example.
You will need to load the following files in the library directory:
events_loader, types_loader, and hierarchies_loader. Alternatively,
you may load the library all_loader file to load all library entities.

View File

@@ -1,11 +1,20 @@
=================================================================
Logtalk - Object oriented extension to Prolog
Release 2.17.1
Release 2.17.2
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
=================================================================
% start by loading the example:
| ?- logtalk_load(loader).
...
% try some simple queries:
| ?- square::nsides(N).
! error(

View File

@@ -0,0 +1,9 @@
:- initialization(
logtalk_load([
shape,
polygon,
regular_polygon,
square,
q1,
q2])).

View File

@@ -1,10 +1,11 @@
=================================================================
Logtalk - Object oriented extension to Prolog
Release 2.17.1
Release 2.17.2
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
=================================================================
To load all objects in this example consult the ph.loader utility
file (note that the *.loader files are Prolog files).
To load all entities in this example compile and load the loader file:
| ?- logtalk_load(loader).

View File

@@ -1,11 +1,20 @@
=================================================================
Logtalk - Object oriented extension to Prolog
Release 2.17.1
Release 2.17.2
Copyright (c) 1998-2004 Paulo Moura. All Rights Reserved.
=================================================================
% start by loading the example:
| ?- logtalk_load(loader).
...
% try some simple queries:
| ?- square::nsides(N).
N = 4

View File

@@ -0,0 +1,9 @@
:- initialization(
logtalk_load([
shape,
polygon,
regular_polygon,
square,
q1,
q2])).