Did you know ... Search Documentation:
Pack logtalk -- logtalk-3.86.0/examples/engines/NOTES.md

This file is part of Logtalk https://logtalk.org/ SPDX-FileCopyrightText: 1998-2023 Paulo Moura <pmoura@logtalk.org> SPDX-License-Identifier: Apache-2.0

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

This directory contains several examples of using threaded engines:

[101, 98, 101, 110, 99, 104]
benchmarking support for evaluating the performance of threaded engines creation and destroying
[101, 109, 101, 116, 97, 115]
examples of meta-predicates implemented using engines
[102, 108, 117, 101, 110, 116, 115]
examples of defining fluents using engines
[105, 110, 116, 101, 114, 97, 99, 116, 111, 114, 115]
examples of defining interactors using engines
[108, 97, 122, 121]
examples of defining lazy predicates using engines and coroutining
[112, 109, 113]
threaded engine implementation of a priority message queue showing how to use a perpetual engine to hold an arbitrary structure
[115, 117, 109, 115]
example of using engines to accumulate state
[116, 98, 98, 116]
examples of defining simple agents using engines (inspired by the "The Big Bang Theory" sitcom)
[119, 104, 105, 115, 112, 101, 114]
example of creating a chain of engines passing a term
[121, 105, 101, 108, 100]
example of fetching answers from an engine returned using the yield predicate