Contains the state for an in-flight interpreter operation.
More...
#include <hyperon.h>
|
| struct RustStepResult * | result |
Contains the state for an in-flight interpreter operation.
- Note
- The step_result_t API is very low-level; It provides direct access to the interpreter without a an environment, parser, or tokenizer. Usually the runner_state_t API is a better choice for executing MeTTa code in most situations.
-
A step_result_t is initially created by interpret_init(). Each call to interpret_step(), in a loop, consumes the step_result_t and creates a new one. When the interpreter operation has fully resolved, step_get_result() can provide the final results. Ownership of the step_result_t must ultimately be released with step_get_result().
- See also
- interpret_init
-
interpret_step
-
step_get_result
◆ result
| struct RustStepResult* step_result_t::result |
Internal. Should not be accessed directly
The documentation for this struct was generated from the following file:
- hyperonc-install/include/hyperonc/hyperon/hyperon.h