predicator v0.5.1 Predicator.Machine

A Machine Struct is comprised of the instructions set, the current stack, the instruction pointer and the context struct.

iex>%Predicator.Machine{} %Predicator.Machine{instructions: [], stack: [], ip: 0, context_struct: nil, opts: []}

Link to this section Summary

Link to this section Types

Link to this type t()
t() :: %Predicator.Machine{
  context_struct: struct() | map(),
  instructions: [] | [...],
  ip: non_neg_integer(),
  opts: [{atom(), atom()}, ...] | [{atom(), [...]}, ...],
  stack: [] | [...]
}