Toy 1.1.6
The Toy programming language is an imperative bytecode-intermediate embedded scripting language
Loading...
Searching...
No Matches
Data Fields
Toy_Interpreter Struct Reference

Data Fields

const unsigned char * bytecode
 
int length
 
int count
 
int codeStart
 
Toy_LiteralArray literalCache
 
Toy_Scope * scope
 
Toy_LiteralArray stack
 
Toy_LiteralDictionary * hooks
 
Toy_PrintFn printOutput
 
Toy_PrintFn assertOutput
 
Toy_PrintFn errorOutput
 
int depth
 
bool panic
 

Field Documentation

◆ assertOutput

Toy_PrintFn Toy_Interpreter::assertOutput

@???@

◆ bytecode

const unsigned char* Toy_Interpreter::bytecode

@???@

◆ codeStart

int Toy_Interpreter::codeStart

BUGFIX: for jumps, must be initialized to -1

◆ count

int Toy_Interpreter::count

@???@

◆ depth

int Toy_Interpreter::depth

don't overflow

◆ errorOutput

Toy_PrintFn Toy_Interpreter::errorOutput

@???@

◆ hooks

Toy_LiteralDictionary* Toy_Interpreter::hooks

@???@

◆ length

int Toy_Interpreter::length

@???@

◆ literalCache

Toy_LiteralArray Toy_Interpreter::literalCache

read-only - built from the bytecode, refreshed each time new bytecode is provided

◆ panic

bool Toy_Interpreter::panic

@???@

◆ printOutput

Toy_PrintFn Toy_Interpreter::printOutput

@???@

◆ scope

Toy_Scope* Toy_Interpreter::scope

@???@

◆ stack

Toy_LiteralArray Toy_Interpreter::stack

@???@


The documentation for this struct was generated from the following file: