ScriptStack 1.0.4
Loading...
Searching...
No Matches
ScriptStack.Runtime Namespace Reference

Classes

class  ArrayList
class  Executable
class  ExecutionException
class  Function
 A function, forward declared in a script. More...
interface  Host
 The main interface to create a Host. A Host can implement Routine's to extend its functionality. More...
class  Instruction
 An instruction in a virtual intermediate language. More...
class  Interpreter
 The Interpreter finally interprets the parse tree in form of a token stream returned from the ScriptStack.Compiler.Parser. More...
class  Memory
interface  Model
class  NullReference
class  Operand
class  Routine
 A Routine is an abstract representation of a method. More...
class  Script
 Internal representation of a text file (source code) which can be passed to the Interpreter to execute it. More...
class  ScriptStackException

Enumerations

enum  Scope { Shared , Script , Local }
enum  OpCode {
  DBG , NOP , DSB , DB ,
  INT , MOV , INC , DEC ,
  NEG , ADD , SUB , MUL ,
  DIV , MOD , TEST , CEQ ,
  CNE , CG , CGE , CL ,
  CLE , OR , AND , NOT ,
  JMP , JZ , JNZ , DC ,
  PTR , PUSH , POP , CALL ,
  RET , INV , RUN , SHL ,
  SHR , ANDB , ORB , NOTB ,
  XOR , DCO , LOCK , FREE
}
enum  OperandType {
  Literal , Variable , Member , Pointer ,
  InstructionPointer , FunctionPointer , RoutinePointer
}

Enumeration Type Documentation

◆ OpCode

Enumerator
DBG 
NOP 
DSB 
DB 
INT 
MOV 
INC 
DEC 
NEG 
ADD 
SUB 
MUL 
DIV 
MOD 
TEST 
CEQ 
CNE 
CG 
CGE 
CL 
CLE 
OR 
AND 
NOT 
JMP 
JZ 
JNZ 
DC 
PTR 
PUSH 
POP 
CALL 
RET 
INV 
RUN 
SHL 
SHR 
ANDB 
ORB 
NOTB 
XOR 
DCO 
LOCK 
FREE 

Definition at line 8 of file Opcode.cs.

9 {
10 DBG,
11 NOP,
12 DSB,
13 DB,
14 INT,
15 MOV,
16 INC,
17 DEC,
18 NEG,
19 ADD,
20 SUB,
21 MUL,
22 DIV,
23 MOD,
24 TEST,
25 CEQ,
26 CNE,
27 CG,
28 CGE,
29 CL,
30 CLE,
31 OR,
32 AND,
33 NOT,
34 JMP,
35 JZ,
36 JNZ,
37 DC,
38 PTR,
39 PUSH,
40 POP,
41 CALL,
42 RET,
43 INV,
44 RUN,
45 SHL,
46 SHR,
47 ANDB,
48 ORB,
49 NOTB,
50 XOR,
51 DCO,
52 LOCK,
53 FREE,
54 }

◆ OperandType

Enumerator
Literal 
Variable 
Member 
Pointer 
InstructionPointer 
FunctionPointer 
RoutinePointer 

Definition at line 11 of file Operand.cs.

◆ Scope

Enumerator
Shared 
Script 
Local 

Definition at line 8 of file Memory.cs.