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:
@@ -1,20 +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.
|
||||
=================================================================
|
||||
|
||||
To load all objects in this example consult the bricks.loader utility
|
||||
file (note that the *.loader files are Prolog files).
|
||||
|
||||
You will need to load the objects in the roots and relations
|
||||
examples (consulting the corresponding roots.loader and relations.loader
|
||||
files).
|
||||
To load all entities in this example compile and load the loader file:
|
||||
|
||||
You will also need to consult the following files in the library directory:
|
||||
events.loader, types.loader, metapredicates.loader, and hierarchies.loader.
|
||||
Alternatively, you may load the library all.loader file to load all library
|
||||
| ?- logtalk_load(loader).
|
||||
|
||||
You will need to load the objects in the roots and relations examples.
|
||||
|
||||
You will also need to load the following files in the library directory:
|
||||
events_loader, types_loader, metapredicates_loader, and hierarchies_loader.
|
||||
Alternatively, you may load the library all_loader file to load all library
|
||||
entities.
|
||||
|
||||
This folder contains an example of representation and handling of
|
||||
@@ -25,5 +25,5 @@ moving a middle brick, we want to automatically destroy the
|
||||
corresponding relation tuple.
|
||||
|
||||
It's instructive to use the event debugger in the Logtalk library (loader
|
||||
file debugging.loader) to better understand this example. Set spy points
|
||||
file debugging_loader.lgt) to better understand this example. Set spy points
|
||||
in all brick instances and then activate the debugger.
|
||||
|
||||
@@ -1,11 +1,16 @@
|
||||
=================================================================
|
||||
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).
|
||||
...
|
||||
|
||||
|
||||
% create four bricks, all standing on the "ground" (use your imagination... ;-)
|
||||
|
||||
|
||||
6
Logtalk/examples/bricks/loader.lgt
Normal file
6
Logtalk/examples/bricks/loader.lgt
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
:- initialization(
|
||||
logtalk_load([
|
||||
brick,
|
||||
brick_stack,
|
||||
stack_monitor])).
|
||||
Reference in New Issue
Block a user