farmbot v6.0.0 Farmbot.CeleryScript.VirtualMachine.InstructionSet View Source

Instruction Set for a virtual machine. This will allow swapping of instructions between machine executions.

Link to this section Summary

Types

t()

Instruction Set type

Functions

Implement an instruction

Builds a new InstructionSet

Link to this section Types

Link to this type t() View Source
t() :: %Farmbot.CeleryScript.VirtualMachine.InstructionSet{instructions: %{optional(module) => module}}

Instruction Set type.

Link to this section Functions

Link to this function impl(set, instruction, implementation) View Source
impl(t, module, module) :: t

Implement an instruction.

Builds a new InstructionSet