The context of execution.
Definition: context.h:17
Stack & dist()
Access to the dictionary stack.
Definition: context.h:49
void stopInterpreterLoop()
Sets run_ to false.
Definition: context.h:57
string getSNapKSNline() const
Getter for snapKSNline_.
Definition: context.h:61
~Context()
Dtor.
Definition: context.cpp:39
string snapKSNline_
For debugging purposes a copy of the current KSN line.
Definition: context.h:18
Stack & exst()
Access to the execution stack.
Definition: context.h:47
bool run_
Control variable for the interpreter loop.
Definition: context.h:24
int getProclevel() const
Getter for procedure level.
Definition: context.h:51
Context()
Ctor.
Definition: context.cpp:14
int getMaxopeelevel() const
Getter for maximum opee level.
Definition: context.h:53
public_other void incProclevel()
Increments the procedure level.
Definition: context.h:65
static const map< string, void(*)(Context &)> systemdictmap_
Maps SON data to SOO data for the systemdict.
Definition: context.h:27
public_accessor Stack & opst()
Access to the operational stack.
Definition: context.h:45
static constexpr size_t mindictstack_
corresponds with the setup in the Ctor
Definition: context.h:31
void setSnapKSNline(const string &p_line)
Setter for snapKSNline_.
Definition: context.h:59
static const map< string, void(*)(Context &)> kryptodictmap_
Maps SON data to SOO data for the kryptodict.
Definition: context.h:29
void decProclevel()
Decrements the procedure level.
Definition: context.h:68
int getInterpreterLoop() const
Getter for interpreter loop control variable run_.
Definition: context.h:55
int proclevel_
The process level is incremented by one for every { on input.
Definition: context.h:22
int maxopeelevel_
A maximum for the nesting level of printed SOA and SOD in the "OPerator Equal Equal".
Definition: context.h:23