[top] [up] [next]
Object-Oriented Prolog
To make programming in prolog easier and the results more re-usable several extensions
were added to Trinc-Prolog to make object-oriented programming possible. These extensions
are not part of the ISO prolog standard and they may differ from other
object-oriented prolog extensions.
- Introduction object-oriented prolog
- Declaring classes
- Defining class methods
- Inheritance and forward declaration
- Creating new instances
- Sending messages to instances
- Deleting instances
- Tips for using instances
- Saving and loading of instances
- Operators and predicates for the OO extensions
- Stack class example
[top] [up] [next]
New in R3B: it is possible with the operator unique_name/2 to give each instance a unique name |
info@trinc-prolog.com