Fleet  0.0.9
Inference in the LOT
Classes | Functions
Instruction.h File Reference

f here is a point to a void(VirtualMachineState_t* vms, int arg), where arg is just a supplemental argument, used to pass indices in lexica and jump sizes etc for other primitives More...

#include <assert.h>
#include <iostream>
#include <variant>
#include "VMSRuntimeError.h"
#include "Ops.h"
#include "VMStatus.h"
Include dependency graph for Instruction.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Instruction
 

Functions

std::ostream & operator<< (std::ostream &stream, Instruction &i)
 Output for instructions. More...
 

Detailed Description

f here is a point to a void(VirtualMachineState_t* vms, int arg), where arg is just a supplemental argument, used to pass indices in lexica and jump sizes etc for other primitives

This is an error type that is returned if we get a runtime error (e.g. string length, etc.) and it is handled in VMS.

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  stream,
Instruction i 
)

Output for instructions.

Parameters
stream
i
Returns

Output for instructions.

Parameters
stream
i
Returns