root/tags/lgt290/examples/NOTES

Revision 2, 2.7 KB (checked in by pmoura, 7 years ago)

Initial revision

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1=================================================================
2Logtalk - Object oriented extension to Prolog
3Release 2.9.0
4
5Copyright (c) 1998-2001 Paulo Moura.  All Rights Reserved.
6=================================================================
7
8This folder contains several examples of Logtalk programs. Most of
9these examples need objects, protocols and categories that are
10defined in the Logtalk standard library or in other examples, so
11you should load them first (see the NOTES file inside each example
12folder).
13
14Some examples may redefine objects already loaded from other examples.
15You may want to restart Logtalk after trying each example.
16
17Some of the examples code have been adopted from public available
18Prolog code and from known Prolog text books and are copyrighted by
19the respective authors.
20
21These are programming examples, meaning that you should look at the
22source files to fully understand them.
23
24All examples are formatted using four spaces tabs.
25
26
27Here is a short description of each included example:
28
29birds
30    bird identification expert system
31    example adopted from the Adventure in Prolog Amzi! book
32
33bricks
34    example of representation and handling of relations using events
35
36classvars
37    example of implementation of class variables (as found in Smalltalk)
38
39errors
40    example showing the Logtalk compiler warning and error reporting
41
42inheritance
43    examples of public, protected and private inheritance with both
44    prototypes and classes/instances
45
46instmethods
47    example of instance defined methods
48
49lo
50    examples adopted from the Francis G. McCabe L&O system
51
52lpa
53    examples adopted from the LPA Prolog++ system
54
55metapredicates
56    example of using metapredicates in Logtalk objects
57
58mi
59    multi-inheritance examples
60
61miscellaneous
62    unsorted examples
63
64parametric
65    simple example of parametric objects
66
67poem
68    examples adopted from the Ben Staveley-Taylor POEM system
69
70points
71    example adopted from SICStus Objects documentation
72
73polygons
74    example of representation and handling of relations using events
75
76profiling
77    examples of using of events and monitors to implement profilers
78
79reflection
80    example of a simple class-based reflective system
81
82relations
83    objects implementing predicates for dealing with relations and
84    constrained relations between objects
85
86roots
87    objects, protocols and categories needed by most of the other examples
88
89searching
90    state-space searching frame work
91    example adopted from Ivan Bratko's "Prolog Programming for Artificial
92    Intelligence" book
93
94sicstus
95    examples adopted from SICStus Objects documentation
96
97symdiff
98    example of using parametric objects to implement symbolic expression
99    differentiation and simplification
100
101viewpoints
102    example on how to implement property and value sharing with prototypes
Note: See TracBrowser for help on using the browser.