root/tags/lgt2202/examples/NOTES

Revision 1438, 3.9 KB (checked in by pmoura, 4 years ago)

Updated Logtalk release number to 2.20.2.

  • 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.20.2
4
5Copyright (c) 1998-2004 Paulo Moura.  All Rights Reserved.
6=================================================================
7
8
9This folder contains several examples of Logtalk programs. A brief
10description of each example is included below.
11
12Each example folder contains a NOTES file and a loader helper file which
13may be used to load all the example entities. In addition, most examples
14contain a SCRIPT file with sample queries for your to try.
15
16Most of these examples need objects, protocols, and categories which are
17defined in the Logtalk standard library or in other examples, so you
18should load them first (see the NOTES files inside the library folder and
19the NOTES file inside each example folder).
20
21Some examples may redefine objects already loaded from other examples.
22You may want to restart Logtalk after trying each example.
23
24Some of the examples code have been adopted from public available Prolog
25code and from known Prolog text books and are copyrighted by the respective
26authors.
27
28These are programming examples, meaning that you should study the source
29files to fully understand them.
30
31All examples are formatted using four spaces tabs.
32
33By default, compiling an example generates a .xml documenting file for each
34compiled entity (object, category, or protocol). See the xml folder for
35instructions on how to browse the .xml files for on-line reading or how to
36convert the files to a print-ready format such as PDF.
37
38
39Here is a short description of each included example:
40
41birds
42    bird identification expert system
43    example adopted from the Adventure in Prolog Amzi! book
44
45bricks
46    example of representation and handling of relations using events
47
48classvars
49    example of implementation of class variables (as found in Smalltalk)
50
51dcgs
52    examples of using DCG rules inside objects and categories
53
54dynpred
55    example of using some of the built-in database handling methods
56
57errors
58    example showing the Logtalk compiler warning and error reporting
59
60inheritance
61    examples of public, protected and private inheritance with both
62    prototypes and classes/instances
63
64instmethods
65    example of instance defined methods
66
67lo
68    examples adopted from the Francis G. McCabe L&O system
69
70logic
71    example of a translator of logic propositions to clauses in conjunctive
72    normal form
73
74lpa
75    examples adopted from the LPA Prolog++ system
76
77metapredicates
78    example of using metapredicates in Logtalk objects
79
80metainterpreters
81    some examples of simple metainterpreters
82
83mi
84    multi-inheritance examples
85
86miscellaneous
87    unsorted examples
88
89msglog
90    example of using events and monitors for recording, replaying, and
91    printing user messages
92
93operators
94    example of using operators local to objects and categories
95
96parametric
97    simple example of parametric objects
98
99poem
100    examples adopted from the Ben Staveley-Taylor POEM system
101
102points
103    example adopted from SICStus Objects documentation
104
105polygons
106    example of representation and handling of relations using events
107
108profiling
109    examples of using of events and monitors to implement profilers
110
111puzzles
112    several examples of logical puzzles
113
114reflection
115    example of a simple class-based reflective system
116
117relations
118    objects implementing predicates for dealing with relations and
119    constrained relations between objects
120
121roots
122    objects, protocols and categories needed by most of the other examples
123
124searching
125    state-space searching framework
126    example adopted from Ivan Bratko's "Prolog Programming for Artificial
127    Intelligence" book
128
129shapes
130    geometric shapes implemented as both a prototype hierarchy and a class
131    hierarchy
132
133sicstus
134    examples adopted from SICStus Objects documentation
135
136symdiff
137    example of using parametric objects to implement symbolic expression
138    differentiation and simplification
139
140viewpoints
141    example on how to implement property and value sharing with prototypes
Note: See TracBrowser for help on using the browser.