![]() |
Toy 1.1.6
The Toy programming language is an imperative bytecode-intermediate embedded scripting language
|
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 |
| Toy_PrintFn Toy_Interpreter::assertOutput |
@???@
| const unsigned char* Toy_Interpreter::bytecode |
@???@
| int Toy_Interpreter::codeStart |
BUGFIX: for jumps, must be initialized to -1
| int Toy_Interpreter::count |
@???@
| int Toy_Interpreter::depth |
don't overflow
| Toy_PrintFn Toy_Interpreter::errorOutput |
@???@
| Toy_LiteralDictionary* Toy_Interpreter::hooks |
@???@
| int Toy_Interpreter::length |
@???@
| Toy_LiteralArray Toy_Interpreter::literalCache |
read-only - built from the bytecode, refreshed each time new bytecode is provided
| bool Toy_Interpreter::panic |
@???@
| Toy_PrintFn Toy_Interpreter::printOutput |
@???@
| Toy_Scope* Toy_Interpreter::scope |
@???@
| Toy_LiteralArray Toy_Interpreter::stack |
@???@