NEST  2.6.0,not_revisioned_source_dir@0
Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
SLIInterpreter Class Reference

#include <interpret.h>

Public Member Functions

 SLIInterpreter (void)
 
 ~SLIInterpreter ()
 
int startup ()
 Initialise the interpreter by reading in the startup files. More...
 
int execute (const std::string &)
 Execute the supplied command string. More...
 
int execute (const Token &)
 Execute the supplied token. More...
 
int execute (int v=0)
 Start the interpreter and run the startup code. More...
 
int execute_ (size_t exitlevel=0)
 Run the interpreter with a prepared execution stack. More...
 
int execute_debug_ (size_t exitlevel=0)
 
void createdouble (Name const &, double)
 
void createcommand (Name const &, SLIFunction const *)
 Define a function in the current dictionary. More...
 
void createcommand (Name const &, Name const &, SLIFunction const *)
 Define a function inside a "namespace" (bottom level dictionary). More...
 
void createconstant (Name const &, const Token &)
 Define a constant in the current dictionary. More...
 
const Tokenlookup (const Name &n) const
 Lookup a name searching all dictionaries on the stack. More...
 
const Tokenlookup2 (const Name &n) const
 Lookup a name searching all dictionaries on the stack. More...
 
const Tokenbaselookup (const Name &n) const
 Lookup a name searching only the bottom level dictionary. More...
 
bool known (const Name &n) const
 Test for a name searching all dictionaries on the stack. More...
 
bool baseknown (const Name &n) const
 Test for a name in the bottom level dictionary. More...
 
void def (Name const &, Token const &)
 Bind a Token to a Name. More...
 
void undef (Name const &)
 Unbind a previously bound Token from a Name. More...
 
void basedef (const Name &n, const Token &t)
 Bind a Token to a Name in the bottom level dictionary. More...
 
void def_move (Name const &, Token &)
 Bind a Token to a Name. More...
 
void basedef_move (const Name &n, Token &t)
 Bind a Token to a Name in the bottom level dictionary. More...
 
void setcycleguard (Index)
 
void removecycleguard (void)
 
void inc_call_depth ()
 Increment call depth level. More...
 
void dec_call_depth ()
 Decrement call depth level. More...
 
void set_call_depth (int l)
 Set call depth level to a specific value. More...
 
int get_call_depth () const
 Return current call depth level. More...
 
void set_max_call_depth (int d)
 Set maximal call depth level to a specific value. More...
 
int get_max_call_depth () const
 Return value of maximal call depth level. More...
 
bool step_mode () const
 Returns true, if step mode is active. More...
 
bool get_debug_mode () const
 Returns true, if debug mode is turned on. More...
 
void debug_mode_on ()
 Turn debug mode on. More...
 
void debug_mode_off ()
 Turn debug mode off. More...
 
void toggle_stack_display ()
 Switch stack display on or off in debug mode. More...
 
void debug_options () const
 Show Debug options. More...
 
char debug_commandline (Token &)
 Prompt user for commands during debug mode. More...
 
bool optimize_tailrecursion () const
 Returns true, if tailing recursion optimization is done. More...
 
void optimize_tailrecursion_on ()
 Enable tail-recursion optimization. More...
 
void optimize_tailrecursion_off ()
 Disable tail-recursion optimization. More...
 
bool show_backtrace () const
 True, if a stack backtrace should be shown on error. More...
 
void backtrace_on ()
 Switch stack backtrace on. More...
 
void backtrace_off ()
 Switch stack backtrace off. More...
 
bool catch_errors () const
 
void catch_errors_on ()
 
void catch_errors_off ()
 
void stack_backtrace (int n)
 List the execution stack from level n-1 downwards to level 0. More...
 
void raiseerror (const char *err)
 Cause the SLI interpreter to raise an error. More...
 
void raiseerror (Name err)
 Cause the SLI interpreter to raise an error. More...
 
void raiseerror (std::exception &err)
 Handle exceptions thrown by any execute(). More...
 
void raiseerror (Name cmd, Name err)
 Cause the SLI interpreter to raise an error. More...
 
void print_error (Token cmd)
 Print a description of a raised error. More...
 
void raiseagain (void)
 Re-raise the last error. More...
 
void raisesignal (int)
 TO BE DOCUMENTED. More...
 
void verbosity (int)
 Set the verbosity level of the SLI messaging mechanism. More...
 
int verbosity (void) const
 Retrieve the current verbosity level of the SLI messaging mechanism. More...
 
void message (int level, const char from[], const char text[], const char errorname[]="") const
 Display a message. More...
 
void message (std::ostream &out, const char levelname[], const char from[], const char text[], const char errorname[]="") const
 Function used by the message(int, const char*, const char*) function. More...
 
void terminate (int returnvalue=-1)
 
Name getcurrentname (void) const
 
unsigned long cycles (void) const
 
template<class T >
void addmodule (void)
 
void addmodule (SLIModule *)
 
void addlinkeddynmodule (DynModule *, nest::Network *)
 
FunctionDatumIlookup (void) const
 
FunctionDatumIiterate (void) const
 
void assert_stack_load (size_t n)
 Throw StackUnderflow exception if too few elements on stack. More...
 

Public Attributes

unsigned long code_accessed
 
unsigned long code_executed
 
Dictionarystatusdict
 
Dictionaryerrordict
 
DictionaryStackDStack
 
Parserparse
 
Name ilookup_name
 
Name ipop_name
 
Name isetcallback_name
 
Name iiterate_name
 
Name iloop_name
 
Name irepeat_name
 
Name ifor_name
 
Name iforallarray_name
 
Name iforalliter_name
 
Name iforallindexedarray_name
 
Name iforallindexedstring_name
 
Name iforallstring_name
 
Name pi_name
 
Name e_name
 
Name iparse_name
 
Name stop_name
 
Name end_name
 
Name null_name
 
Name true_name
 
Name false_name
 
Name mark_name
 
Name istopped_name
 
Name systemdict_name
 
Name userdict_name
 
Name errordict_name
 
Name quitbyerror_name
 
Name newerror_name
 
Name errorname_name
 
Name commandname_name
 
Name signo_name
 
Name recordstacks_name
 
Name estack_name
 
Name ostack_name
 
Name dstack_name
 
Name commandstring_name
 
Name interpreter_name
 
Name ArgumentTypeError
 
Name StackUnderflowError
 
Name UndefinedNameError
 
Name WriteProtectedError
 
Name DivisionByZeroError
 
Name RangeCheckError
 
Name PositiveIntegerExpectedError
 
Name BadIOError
 
Name StringStreamExpectedError
 
Name CycleGuardError
 
Name SystemSignal
 
Name BadErrorHandler
 
Name KernelError
 
Name InternalKernelError
 
Token execbarrier_token
 
Token ct
 
TokenStack OStack
 
TokenStack EStack
 

Static Public Attributes

static SLIType Integertype
 
static SLIType Doubletype
 
static SLIType Stringtype
 
static SLIType Nametype
 
static SLIType Booltype
 
static SLIType Literaltype
 
static SLIType Arraytype
 
static SLIType Proceduretype
 
static SLIType Litproceduretype
 
static SLIType Dictionarytype
 
static SLIType Symboltype
 
static SLIType Functiontype
 
static SLIType Trietype
 
static SLIType Callbacktype
 
static SLIType Istreamtype
 
static SLIType XIstreamtype
 
static SLIType Ostreamtype
 
static SLIType IntVectortype
 
static SLIType DoubleVectortype
 
static SLIType Iteratortype
 
static DatatypeFunction datatypefunction
 
static NametypeFunction nametypefunction
 
static ProceduretypeFunction proceduretypefunction
 
static LitproceduretypeFunction litproceduretypefunction
 
static FunctiontypeFunction functiontypefunction
 
static TrietypeFunction trietypefunction
 
static CallbacktypeFunction callbacktypefunction
 
static XIstreamtypeFunction xistreamtypefunction
 
static const IlookupFunction ilookupfunction
 
static const IsetcallbackFunction isetcallbackfunction
 
static const IiterateFunction iiteratefunction
 
static const IloopFunction iloopfunction
 
static const IrepeatFunction irepeatfunction
 
static const IforFunction iforfunction
 
static const IforallarrayFunction iforallarrayfunction
 
static const IforalliterFunction iforalliterfunction
 
static const
IforallindexedarrayFunction 
iforallindexedarrayfunction
 
static const
IforallindexedstringFunction 
iforallindexedstringfunction
 
static const IforallstringFunction iforallstringfunction
 
Predefined error levels
static const int M_ALL =0
 Predefined error level for turning on the display of all messages; for use with verbosity(int). More...
 
static const int M_DEBUG =5
 Predefined error level for debugging messages. More...
 
static const int M_STATUS =7
 Predefined error level for status messages. More...
 
static const int M_INFO =10
 Predefined error level for informational messages. More...
 
static const int M_WARNING =20
 Predefined error level for warning messages. More...
 
static const int M_ERROR =30
 Predefined error level for error messages. More...
 
static const int M_FATAL =40
 Predefined error level for failure messages. More...
 
static const int M_QUIET =100
 An error level above all others. Use to turn off messages completely. More...
 

Private Member Functions

void inittypes (void)
 
void initdictionaries (void)
 
void initbuiltins (void)
 
void initexternals (void)
 

Private Attributes

std::list< SLIModule * > modules
 
bool debug_mode_
 True, if SLI level debugging is enabled. More...
 
bool show_stack_
 Show stack in debug mode. More...
 
bool show_backtrace_
 Show stack-backtrace on error. More...
 
bool catch_errors_
 Enter debugger on error. More...
 
bool opt_tailrecursion_
 Optimize tailing recursion. More...
 
int call_depth_
 Current depth of procedure calls. More...
 
int max_call_depth_
 Depth until which procedure calls are debugged. More...
 
unsigned long cycle_count
 
bool cycle_guard
 
unsigned long cycle_restriction
 
int verbositylevel
 

Static Private Attributes

static char const *const M_ALL_NAME =""
 
static char const *const M_DEBUG_NAME ="Debug"
 
static char const *const M_STATUS_NAME ="Status"
 
static char const *const M_INFO_NAME ="Info"
 
static char const *const M_WARNING_NAME ="Warning"
 
static char const *const M_ERROR_NAME ="Error"
 
static char const *const M_FATAL_NAME ="Fatal"
 
static char const *const M_QUIET_NAME =""
 

Constructor & Destructor Documentation

SLIInterpreter::SLIInterpreter ( void  )
SLIInterpreter::~SLIInterpreter ( )

Member Function Documentation

void SLIInterpreter::addlinkeddynmodule ( DynModule m,
nest::Network net 
)
template<class T >
void SLIInterpreter::addmodule ( void  )

References SLIModule::install(), and modules.

Referenced by add_static_modules(), addmodule(), and main().

void SLIInterpreter::addmodule ( SLIModule m)
void SLIInterpreter::assert_stack_load ( size_t  n)
inline

Throw StackUnderflow exception if too few elements on stack.

Parameters
nMinimum number of elements required on stack.
Exceptions
StackUnderflowif fewer that n elements on stack.

References TokenStack::load(), nest::names::n, and OStack.

Referenced by MathLinkPutStringFunction::execute(), XIfstreamFunction::execute(), GNUReadline::GNUReadlineFunction::execute(), IfstreamFunction::execute(), GNUReadline::GNUAddhistoryFunction::execute(), nest::ConnectionGeneratorModule::CGConnect_cg_i_i_D_lFunction::execute(), OfstreamFunction::execute(), nest::ConnectionGeneratorModule::CGConnect_cg_iV_iV_D_lFunction::execute(), nest::TopologyModule::CreateLayer_DFunction::execute(), OfsopenFunction::execute(), nest::ConnectionGeneratorModule::CGParse_sFunction::execute(), nest::TopologyModule::GetPosition_iFunction::execute(), nest::ConnectionGeneratorModule::CGParseFile_sFunction::execute(), IsstreamFunction::execute(), nest::TopologyModule::Displacement_a_iFunction::execute(), nest::ConnectionGeneratorModule::CGSelectImplementation_s_sFunction::execute(), ToUppercase_sFunction::execute(), RandomNumbers::CreateRNGFunction::execute(), nest::TopologyModule::Distance_a_iFunction::execute(), nest::ConnectionGeneratorModule::CGSetMask_cg_iV_iVFunction::execute(), nest::DynamicLoaderModule::LoadModuleFunction::execute(), ToLowercase_sFunction::execute(), RandomNumbers::CreateRDVFunction::execute(), StrSStreamFunction::execute(), nest::TopologyModule::GetGlobalChildren_i_M_aFunction::execute(), nest::ConnectionGeneratorModule::CGStart_cgFunction::execute(), FilesystemModule::CompareFilesFunction::execute(), RandomNumbers::SetStatus_vdFunction::execute(), nest::ConnectionGeneratorModule::CGNext_cgFunction::execute(), nest::TopologyModule::ConnectLayers_i_i_DFunction::execute(), SLIArrayModule::ArraystoreFunction::execute(), RandomNumbers::GetStatus_vFunction::execute(), nest::TopologyModule::CreateMask_DFunction::execute(), StrFunction::execute(), SpecialFunctionsModule::GaussDiskConvFunction::execute(), SLIStartup::GetenvFunction::execute(), RandomNumbers::IrandFunction::execute(), nest::TopologyModule::Inside_a_MFunction::execute(), PrintFunction::execute(), RandomNumbers::DrandFunction::execute(), nest::TopologyModule::And_M_MFunction::execute(), SLIArrayModule::ReverseFunction::execute(), RandomNumbers::SeedFunction::execute(), PrettyprintFunction::execute(), nest::TopologyModule::Or_M_MFunction::execute(), SLIArrayModule::RotateFunction::execute(), RandomNumbers::RandomArrayFunction::execute(), nest::TopologyModule::Sub_M_MFunction::execute(), CloseistreamFunction::execute(), RandomNumbers::RandomFunction::execute(), nest::TopologyModule::Mul_P_PFunction::execute(), CloseostreamFunction::execute(), SLIArrayModule::SortFunction::execute(), nest::TopologyModule::Div_P_PFunction::execute(), FlushFunction::execute(), nest::TopologyModule::Add_P_PFunction::execute(), EndlFunction::execute(), nest::TopologyModule::Sub_P_PFunction::execute(), EndsFunction::execute(), nest::TopologyModule::CreateParameter_DFunction::execute(), CleardictFunction::execute(), nest::TopologyModule::GetValue_a_PFunction::execute(), EatwhiteFunction::execute(), ClonedictFunction::execute(), nest::NestModule::ChangeSubnet_iFunction::execute(), nest::TopologyModule::DumpLayerNodes_os_iFunction::execute(), SetwFunction::execute(), nest::TopologyModule::DumpLayerConnections_os_i_lFunction::execute(), SetprecisionFunction::execute(), nest::NestModule::GetNodes_i_D_b_bFunction::execute(), nest::TopologyModule::GetElement_i_iaFunction::execute(), LoadFunction::execute(), IOSFixedFunction::execute(), nest::NestModule::GetLeaves_i_D_bFunction::execute(), nest::TopologyModule::Cvdict_MFunction::execute(), IOSScientificFunction::execute(), nest::NestModule::GetChildren_i_D_bFunction::execute(), IOSDefaultFunction::execute(), nest::NestModule::GetStatus_iFunction::execute(), nest::NestModule::GetStatus_CFunction::execute(), IOSShowpointFunction::execute(), RestoredstackFunction::execute(), nest::NestModule::GetStatus_aFunction::execute(), IOSNoshowpointFunction::execute(), nest::NestModule::SetStatus_idFunction::execute(), IOSShowbaseFunction::execute(), nest::NestModule::SetStatus_CDFunction::execute(), IOSNoshowbaseFunction::execute(), IOSDecFunction::execute(), nest::NestModule::SetStatus_aaFunction::execute(), nest::NestModule::SetDefaults_l_DFunction::execute(), IOSHexFunction::execute(), PrinterrorFunction::execute(), nest::NestModule::GetDefaults_lFunction::execute(), IOSOctFunction::execute(), nest::NestModule::CopyModel_l_l_DFunction::execute(), IOSLeftFunction::execute(), nest::NestModule::GetConnections_DFunction::execute(), IOSRightFunction::execute(), nest::NestModule::SimulateFunction::execute(), IOSInternalFunction::execute(), GetcFunction::execute(), nest::NestModule::Create_l_iFunction::execute(), GetsFunction::execute(), nest::NestModule::RestoreNodes_aFunction::execute(), nest::NestModule::DataConnect_i_D_sFunction::execute(), TypeinfoFunction::execute(), GetlineFunction::execute(), nest::NestModule::DataConnect_aFunction::execute(), IGoodFunction::execute(), nest::NestModule::Connect_i_i_lFunction::execute(), IClearFunction::execute(), nest::NestModule::Connect_i_i_d_d_lFunction::execute(), OClearFunction::execute(), nest::NestModule::Connect_i_i_D_lFunction::execute(), IFailFunction::execute(), nest::NestModule::Connect_g_g_D_DFunction::execute(), OGoodFunction::execute(), nest::NestModule::DivergentConnect_i_ia_a_a_lFunction::execute(), nest::NestModule::RDivergentConnect_i_i_ia_da_da_b_b_lFunction::execute(), Cvx_fFunction::execute(), nest::NestModule::ConvergentConnect_ia_i_a_a_lFunction::execute(), IEofFunction::execute(), nest::NestModule::RConvergentConnect_ia_i_i_da_da_b_b_lFunction::execute(), OEofFunction::execute(), nest::NestModule::RConvergentConnect_ia_ia_ia_daa_daa_b_b_lFunction::execute(), In_AvailFunction::execute(), ReadDoubleFunction::execute(), ReadIntFunction::execute(), nest::NestModule::PrintNetworkFunction::execute(), ReadWordFunction::execute(), nest::NestModule::SetFakeNumProcessesFunction_i::execute(), nest::NestModule::SetNumRecProcessesFunction_i::execute(), nest::NestModule::TimeCommunication_i_i_bFunction::execute(), nest::NestModule::TimeCommunicationv_i_iFunction::execute(), nest::NestModule::TimeCommunicationAlltoall_i_iFunction::execute(), nest::NestModule::TimeCommunicationAlltoallv_i_iFunction::execute(), nest::NestModule::MPIAbort_iFunction::execute(), nest::NestModule::GetVpRngFunction::execute(), nest::NestModule::Cvdict_CFunction::execute(), nest::NestModule::Cvgidcollection_i_iFunction::execute(), Sleep_iFunction::execute(), nest::NestModule::Cvgidcollection_iaFunction::execute(), nest::NestModule::Cvgidcollection_ivFunction::execute(), Sleep_dFunction::execute(), nest::NestModule::Size_gFunction::execute(), nest::NestModule::SetAcceptableLatencyFunction::execute(), Token_isFunction::execute(), nest::NestModule::SetMaxBufferedFunction::execute(), SetGuardFunction::execute(), SLIArrayModule::FiniteQ_dFunction::execute(), and RepeatanyFunction::execute().

void SLIInterpreter::backtrace_off ( )

Switch stack backtrace off.

Whenever an error or stop is raised, the execution stack is unrolled up to the nearest stopped context. In this process it is possible to display a stack backtrace which allows the user to diagnose the origin and possible cause of the error. For applications which handle themselfs, this backtrace may be disturbing. So it is possible to switch this behavior on and off.

References M_INFO, message(), opt_tailrecursion_, and show_backtrace_.

Referenced by Backtrace_offFunction::execute().

void SLIInterpreter::backtrace_on ( )

Switch stack backtrace on.

Whenever an error or stop is raised, the execution stack is unrolled up to the nearest stopped context. In this process it is possible to display a stack backtrace which allows the user to diagnose the origin and possible cause of the error. For applications which handle themselfs, this backtrace may be disturbing. So it is possible to switch this behavior on and off.

References M_INFO, message(), opt_tailrecursion_, and show_backtrace_.

Referenced by Backtrace_onFunction::execute(), and SLIStartup::init().

void SLIInterpreter::basedef ( const Name n,
const Token t 
)

Bind a Token to a Name in the bottom level dictionary.

The Token is copied.

References DictionaryStack::basedef(), and DStack.

Referenced by createcommand().

void SLIInterpreter::basedef_move ( const Name n,
Token t 
)

Bind a Token to a Name in the bottom level dictionary.

The Token is moved.

References DictionaryStack::basedef_move(), and DStack.

bool SLIInterpreter::baseknown ( const Name n) const

Test for a name in the bottom level dictionary.

References DictionaryStack::baseknown(), and DStack.

Referenced by createcommand().

const Token & SLIInterpreter::baselookup ( const Name n) const

Lookup a name searching only the bottom level dictionary.

If the Name is not found, VoidToken is returned.

References DictionaryStack::baselookup(), and DStack.

Referenced by Dictionary::add_dict(), addlinkeddynmodule(), addmodule(), createcommand(), debug_commandline(), OOSupportModule::CallMemberFunction::execute(), SLIArrayModule::MapFunction::execute(), GNUReadline::GNUReadlineFunction::execute(), RegexpModule::RegcompFunction::execute(), SLIArrayModule::MapThreadFunction::execute(), CallbacktypeFunction::execute(), LoopFunction::execute(), XIstreamtypeFunction::execute(), ExitFunction::execute(), SLIArrayModule::MapIndexedFunction::execute(), XIfstreamtypeFunction::execute(), FilesystemModule::CompareFilesFunction::execute(), RepeatFunction::execute(), DictconstructFunction::execute(), SLIStartup::GetenvFunction::execute(), CloseinputFunction::execute(), CurrentnameFunction::execute(), ForFunction::execute(), Forall_aFunction::execute(), Forall_iterFunction::execute(), Forallindexed_aFunction::execute(), Forallindexed_sFunction::execute(), Forall_sFunction::execute(), Empty_aFunction::execute(), Shrink_aFunction::execute(), Empty_sFunction::execute(), SwitchFunction::execute(), SwitchdefaultFunction::execute(), CaseFunction::execute(), CounttomarkFunction::execute(), Search_sFunction::execute(), Search_aFunction::execute(), SLIArrayModule::Forall_ivFunction::execute(), SLIArrayModule::Forall_dvFunction::execute(), RepeatanyFunction::execute(), execute_(), execute_debug_(), nest::Network::get_exitcode(), nest::NestModule::init(), SLIStartup::init(), Processes::init(), nest::Network::quit_by_error(), raiseagain(), raiseerror(), Dictionary::remove_dict(), SLIInterpreter(), and Processes::systemerror().

bool SLIInterpreter::catch_errors ( ) const
inline
void SLIInterpreter::catch_errors_off ( )
inline

References catch_errors_.

void SLIInterpreter::catch_errors_on ( )
inline

References catch_errors_.

void SLIInterpreter::createcommand ( Name const &  n,
SLIFunction const *  fn 
)

Define a function in the current dictionary.

This function defines a SLI function in the current dictionary. Note that you may also pass a string as the first argument, as there is an implicit type conversion operator from string to Name. Use the Name when a name object for this function already exists.

References DictionaryStack::def_move(), DStack, DictionaryStack::known(), and Name::toString().

Referenced by createcommand(), OOSupportModule::init(), GNUReadline::init(), nest::TopologyModule::init(), nest::ConnectionGeneratorModule::init(), SpecialFunctionsModule::init(), nest::DynamicLoaderModule::init(), nest::NestModule::init(), SLIgraphics::init(), RandomNumbers::init(), FilesystemModule::init(), RegexpModule::init(), SLIStartup::init(), Processes::init(), SLIArrayModule::init(), init_sli_io(), init_slicontrol(), init_slidata(), init_slidict(), init_slimath(), init_slistack(), init_slistring(), init_slitypecheck(), and initbuiltins().

void SLIInterpreter::createcommand ( Name const &  dictn,
Name const &  n,
SLIFunction const *  fn 
)

Define a function inside a "namespace" (bottom level dictionary).

This function may be used to group SLI commands in some kind of "name spaces" that are implemented using dictionaries. It defines the SLI function inside a dictionary of the given Name, which is known in systemdict. If a dictionary of the given Name is not yet known inside systemdict, it is created. Note that you may also pass strings as the first arguments, as there is an implicit type conversion operator from string to Name. Use the Name when name objects already exist.

References basedef(), baseknown(), baselookup(), createcommand(), nest::names::d, Token::datum(), DStack, nest::names::dt, DictionaryStack::pop(), and DictionaryStack::push().

void SLIInterpreter::createconstant ( Name const &  n,
const Token val 
)

Define a constant in the current dictionary.

This function defines a SLI constant in the current dictionary. Note that you may also pass a string as the first argument, as there is an implicit type conversion operator from string to Name. Use the Name when a name object for this function already exists.

References DictionaryStack::def_move(), and DStack.

void SLIInterpreter::createdouble ( Name const &  n,
double  d 
)

References DictionaryStack::def_move(), and DStack.

Referenced by initbuiltins().

unsigned long SLIInterpreter::cycles ( void  ) const
inline

References cycle_count.

Referenced by CyclesFunction::execute(), and setcycleguard().

char SLIInterpreter::debug_commandline ( Token next)
void SLIInterpreter::debug_mode_off ( )
inline
void SLIInterpreter::debug_mode_on ( )
inline
void SLIInterpreter::debug_options ( ) const

Show Debug options.

Referenced by debug_commandline(), and DebugOnFunction::execute().

void SLIInterpreter::dec_call_depth ( )
inline
void SLIInterpreter::def ( Name const &  n,
Token const &  t 
)

Bind a Token to a Name.

The token is copied. This can be an expensive operation for large objects. Also, if the token is popped off one of the stacks after calling def, it is more reasonable to use SLIInterpreter::def_move.

References DictionaryStack::def(), and DStack.

Referenced by nest::DynamicLoaderModule::DynamicLoaderModule(), RandomNumbers::init(), RegexpModule::init(), SLIStartup::init(), Processes::init(), init_slicontrol(), initdictionaries(), and nest::Network::Network().

void SLIInterpreter::def_move ( Name const &  n,
Token t 
)

Bind a Token to a Name.

like def, however, the Datum object is moved from the token into the dictionary, thus, no memory allocation or copying is needed.

References DictionaryStack::def_move(), and DStack.

Referenced by DefFunction::execute(), SetFunction::execute(), init_sli_io(), and initexternals().

int SLIInterpreter::execute ( const std::string &  cmdline)

Execute the supplied command string.

References EStack, execute_(), OStack, TokenStack::push(), and startup().

Referenced by __pyx_pf_12pynestkernel_10NESTEngine_6run(), and main().

int SLIInterpreter::execute ( const Token cmd)

Execute the supplied token.

References EStack, execute_(), TokenStack::push(), and startup().

int SLIInterpreter::execute ( int  v = 0)

Start the interpreter and run the startup code.

References EStack, execute_(), execute_debug_(), TokenStack::push(), and startup().

int SLIInterpreter::execute_ ( size_t  exitlevel = 0)
int SLIInterpreter::execute_debug_ ( size_t  exitlevel = 0)
int SLIInterpreter::get_call_depth ( ) const
inline

Return current call depth level.

The value of call_depth_ is used to control the step mode. Step mode is disabled for call_depth_ >= max_call_depth_. This gives the user the opportunity to skip over nested calls during debugging.

References call_depth_.

Referenced by DebugOnFunction::execute().

bool SLIInterpreter::get_debug_mode ( ) const
inline

Returns true, if debug mode is turned on.

References debug_mode_.

Referenced by CloseinputFunction::execute(), and StopFunction::execute().

int SLIInterpreter::get_max_call_depth ( ) const
inline

Return value of maximal call depth level.

The value of call_depth_ is used to control the step mode. Step mode is disabled for call_depth_ >= max_call_depth_. This gives the user the opportunity to skip over nested calls during debugging.

References max_call_depth_.

Name SLIInterpreter::getcurrentname ( void  ) const
FunctionDatum * SLIInterpreter::Iiterate ( void  ) const

References iiterate_name.

Referenced by ProceduretypeFunction::execute().

FunctionDatum * SLIInterpreter::Ilookup ( void  ) const

References ilookup_name.

void SLIInterpreter::inc_call_depth ( )
inline
void SLIInterpreter::initbuiltins ( void  )
private
void SLIInterpreter::initdictionaries ( void  )
private
void SLIInterpreter::initexternals ( void  )
private
void SLIInterpreter::inittypes ( void  )
private
bool SLIInterpreter::known ( const Name n) const

Test for a name searching all dictionaries on the stack.

References DStack, and DictionaryStack::known().

const Token & SLIInterpreter::lookup ( const Name n) const

Lookup a name searching all dictionaries on the stack.

The first occurrence is reported. If the Name is not found, VoidToken is returned.

References DStack, and DictionaryStack::lookup().

Referenced by LoadFunction::execute(), and LookupFunction::execute().

const Token & SLIInterpreter::lookup2 ( const Name n) const

Lookup a name searching all dictionaries on the stack.

The first occurrence is reported. If the Name is not found, an UndefinedName exceptiopn is thrown.

References DStack, and DictionaryStack::lookup2().

Referenced by NametypeFunction::execute().

void SLIInterpreter::message ( std::ostream &  out,
const char  levelname[],
const char  from[],
const char  text[],
const char  errorname[] = "" 
) const

Function used by the message(int, const char*, const char*) function.

Prints a message to the specified output stream.

Parameters
outoutput stream
levelnamename associated with input level

References nest::names::columns.

bool SLIInterpreter::optimize_tailrecursion ( ) const
inline

Returns true, if tailing recursion optimization is done.

References opt_tailrecursion_.

void SLIInterpreter::optimize_tailrecursion_off ( )
inline

Disable tail-recursion optimization.

Tail-recursion can be optimizes in such a way that the execution stack is not growing with each recursion level. This optimization may improve performance for applications which heavily rely on deep recusions. However, during debugging, tail-recursion optimization removes important information from the execution stack.

References opt_tailrecursion_.

void SLIInterpreter::optimize_tailrecursion_on ( )
inline

Enable tail-recursion optimization.

Tail-recursion can be optimizes in such a way that the execution stack is not growing with each recursion level. This optimization may improve performance for applications which heavily rely on deep recusions. However, during debugging, tail-recursion optimization removes important information from the execution stack.

References opt_tailrecursion_.

void SLIInterpreter::print_error ( Token  cmd)

Print a description of a raised error.

The errordict members errorname, command and message together with the function input parameters decides the nature of the output message. The function use the message() function to print the error. Replaces the SLI :print_error function.

Parameters
cmdThe name of the function that raised the error.
See also
raiseerror(const char*), raiseerror(Name), raiseerror(Name,Name)

References assert(), Token::datum(), errordict, errorname_name, TrieDatum::get(), Datum::gettypename(), TypeTrie::info(), Dictionary::known(), Dictionary::lookup(), M_ERROR, and message().

Referenced by PrinterrorFunction::execute().

void SLIInterpreter::raiseerror ( std::exception &  err)

Handle exceptions thrown by any execute().

This raiseerror is the first step in handling C++ exceptions thrown by an execute() call. In particular,

  • the name of the calling function is recorded;
  • the command is popped from the execution stack;
  • the error message is extracted from those exceptions that are derived from SLIException.
  • handling is forwarded to raiserror(Name, Name).

References assert(), errordict, EStack, getcurrentname(), Dictionary::insert(), SLIException::message(), raiseerror(), TokenStack::top(), and SLIException::what().

void SLIInterpreter::removecycleguard ( void  )

References cycle_guard.

Referenced by RemoveGuardFunction::execute().

void SLIInterpreter::set_call_depth ( int  l)
inline

Set call depth level to a specific value.

The value of call_depth_ is used to control the step mode. Step mode is disabled for call_depth_ >= max_call_depth_. This gives the user the opportunity to skip over nested calls during debugging.

References call_depth_.

void SLIInterpreter::set_max_call_depth ( int  d)
inline

Set maximal call depth level to a specific value.

The value of call_depth_ is used to control the step mode. Step mode is disabled for call_depth_ >= max_call_depth_. This gives the user the opportunity to skip over nested calls during debugging.

References nest::names::d, and max_call_depth_.

Referenced by DebugOnFunction::execute().

void SLIInterpreter::setcycleguard ( Index  c)
bool SLIInterpreter::show_backtrace ( ) const
inline

True, if a stack backtrace should be shown on error.

Whenever an error or stop is raised, the execution stack is unrolled up to the nearest stopped context. In this process it is possible to display a stack backtrace which allows the user to diagnose the origin and possible cause of the error. For applications which handle themselfs, this backtrace may be disturbing. So it is possible to switch this behavior on and off.

References show_backtrace_.

Referenced by CloseinputFunction::execute(), and StopFunction::execute().

void SLIInterpreter::stack_backtrace ( int  n)

List the execution stack from level n-1 downwards to level 0.

If you want the entire stack to be displayed, call the function as stack_backtrace(EStack.load());

References FunctionDatum::backtrace(), Token::datum(), EStack, TokenStack::load(), nest::names::p, TokenStack::pick(), TrieDatum::print(), and AggregateDatum< C, slt >::print().

Referenced by debug_commandline(), CloseinputFunction::execute(), and StopFunction::execute().

int SLIInterpreter::startup ( )

Initialise the interpreter by reading in the startup files.

References EStack, execute_(), and TokenStack::load().

Referenced by execute().

bool SLIInterpreter::step_mode ( ) const
inline
void SLIInterpreter::terminate ( int  returnvalue = -1)
void SLIInterpreter::toggle_stack_display ( )

Switch stack display on or off in debug mode.

References M_INFO, message(), and show_stack_.

void SLIInterpreter::undef ( Name const &  n)

Unbind a previously bound Token from a Name.

Throws UnknownName Exception.

References DStack, and DictionaryStack::undef().

Member Data Documentation

Name SLIInterpreter::ArgumentTypeError

Referenced by eq_execute(), TrieFunction::execute(), AddtotrieFunction::execute(), Get_a_aFunction::execute(), SLIgraphics::ReadPGMFunction::execute(), SLIArrayModule::IMap_ivFunction::execute(), SLIArrayModule::IMap_dvFunction::execute(), DictbeginFunction::execute(), SLIArrayModule::MapThreadFunction::execute(), LoopFunction::execute(), SLIArrayModule::RangeFunction::execute(), nest::DynamicLoaderModule::UnloadModuleFunction::execute(), DictconstructFunction::execute(), PrintFunction::execute(), Join_sFunction::execute(), CloseistreamFunction::execute(), CloseostreamFunction::execute(), SLIArrayModule::SortFunction::execute(), SLIArrayModule::Put_a_a_tFunction::execute(), Mod_iiFunction::execute(), LoadFunction::execute(), LookupFunction::execute(), RestoredstackFunction::execute(), SLIArrayModule::AreaFunction::execute(), SLIArrayModule::Area2Function::execute(), SLIArrayModule::Cv1dFunction::execute(), SLIArrayModule::Cv2dFunction::execute(), SLIArrayModule::GetMaxFunction::execute(), SLIArrayModule::GetMinFunction::execute(), SLIArrayModule::Array2IntVectorFunction::execute(), SLIArrayModule::Array2DoubleVectorFunction::execute(), SLIArrayModule::DoubleVector2ArrayFunction::execute(), SLIArrayModule::IntVector2ArrayFunction::execute(), SLIArrayModule::Add_iv_ivFunction::execute(), SLIArrayModule::Add_i_ivFunction::execute(), SLIArrayModule::Neg_ivFunction::execute(), SLIArrayModule::Sub_iv_ivFunction::execute(), SLIArrayModule::Mul_iv_ivFunction::execute(), Inv_dFunction::execute(), SLIArrayModule::Mul_i_ivFunction::execute(), SLIArrayModule::Mul_d_ivFunction::execute(), SLIArrayModule::Div_iv_ivFunction::execute(), SLIArrayModule::Add_dv_dvFunction::execute(), SLIArrayModule::Add_d_dvFunction::execute(), SLIArrayModule::Sub_dv_dvFunction::execute(), SLIArrayModule::Mul_dv_dvFunction::execute(), CaseFunction::execute(), SLIArrayModule::Mul_d_dvFunction::execute(), SLIArrayModule::Div_dv_dvFunction::execute(), SLIArrayModule::Neg_dvFunction::execute(), SLIArrayModule::Inv_dvFunction::execute(), SLIArrayModule::Length_dvFunction::execute(), SLIArrayModule::Length_ivFunction::execute(), SLIArrayModule::Get_iv_iFunction::execute(), SLIArrayModule::Get_iv_ivFunction::execute(), SLIArrayModule::Get_dv_ivFunction::execute(), SLIArrayModule::Get_dv_iFunction::execute(), SLIArrayModule::Put_dv_i_dFunction::execute(), SLIArrayModule::Put_iv_i_iFunction::execute(), SLIArrayModule::Zeros_ivFunction::execute(), SLIArrayModule::Zeros_dvFunction::execute(), SLIArrayModule::Ones_dvFunction::execute(), SLIArrayModule::Ones_ivFunction::execute(), and SLIArrayModule::ArangeFunction::execute().

SLIType SLIInterpreter::Arraytype
static
Name SLIInterpreter::BadErrorHandler

Referenced by raiseagain(), and raiseerror().

Name SLIInterpreter::BadIOError
SLIType SLIInterpreter::Booltype
static

Referenced by inittypes(), and ~SLIInterpreter().

int SLIInterpreter::call_depth_
private

Current depth of procedure calls.

Referenced by debug_commandline(), dec_call_depth(), get_call_depth(), inc_call_depth(), set_call_depth(), and step_mode().

SLIType SLIInterpreter::Callbacktype
static

Referenced by inittypes(), and ~SLIInterpreter().

CallbacktypeFunction SLIInterpreter::callbacktypefunction
static

Referenced by inittypes().

bool SLIInterpreter::catch_errors_
private

Enter debugger on error.

Referenced by catch_errors(), catch_errors_off(), catch_errors_on(), and debug_commandline().

unsigned long SLIInterpreter::code_accessed
unsigned long SLIInterpreter::code_executed
Name SLIInterpreter::commandname_name

Referenced by raiseagain(), and raiseerror().

Name SLIInterpreter::commandstring_name
Token SLIInterpreter::ct
unsigned long SLIInterpreter::cycle_count
private

Referenced by cycles(), execute_(), and execute_debug_().

bool SLIInterpreter::cycle_guard
private

Referenced by removecycleguard(), and setcycleguard().

unsigned long SLIInterpreter::cycle_restriction
private

Referenced by setcycleguard().

Name SLIInterpreter::CycleGuardError
DatatypeFunction SLIInterpreter::datatypefunction
static
bool SLIInterpreter::debug_mode_
private

True, if SLI level debugging is enabled.

Referenced by debug_commandline(), debug_mode_off(), debug_mode_on(), get_debug_mode(), and step_mode().

SLIType SLIInterpreter::Dictionarytype
static

Referenced by inittypes(), and ~SLIInterpreter().

Name SLIInterpreter::DivisionByZeroError
SLIType SLIInterpreter::Doubletype
static

Referenced by inittypes(), and ~SLIInterpreter().

SLIType SLIInterpreter::DoubleVectortype
static

Referenced by inittypes(), and ~SLIInterpreter().

DictionaryStack* SLIInterpreter::DStack
Name SLIInterpreter::dstack_name

Referenced by raiseerror().

Name SLIInterpreter::e_name

Referenced by initbuiltins().

Name SLIInterpreter::end_name
Dictionary* SLIInterpreter::errordict
Name SLIInterpreter::errordict_name
Name SLIInterpreter::errorname_name

Referenced by print_error(), and raiseerror().

TokenStack SLIInterpreter::EStack

Referenced by SLIArrayModule::IMapFunction::backtrace(), IiterateFunction::backtrace(), SLIArrayModule::IMap_ivFunction::backtrace(), SLIArrayModule::IMap_dvFunction::backtrace(), IloopFunction::backtrace(), IrepeatFunction::backtrace(), SLIArrayModule::IMapThreadFunction::backtrace(), IforFunction::backtrace(), SLIArrayModule::IMapIndexedFunction::backtrace(), IforallarrayFunction::backtrace(), IforalliterFunction::backtrace(), IforallindexedarrayFunction::backtrace(), IforallindexedstringFunction::backtrace(), IforallstringFunction::backtrace(), SLIArrayModule::Iforall_ivFunction::backtrace(), SLIArrayModule::Iforall_dvFunction::backtrace(), debug_commandline(), eq_execute(), TrieFunction::execute(), DatatypeFunction::execute(), OOSupportModule::CallMemberFunction::execute(), PopFunction::execute(), Add_diFunction::execute(), TrieInfoFunction::execute(), FilesystemModule::FileNamesFunction::execute(), Get_aFunction::execute(), MathLinkPutStringFunction::execute(), Backtrace_onFunction::execute(), NametypeFunction::execute(), DictFunction::execute(), IlookupFunction::execute(), NpopFunction::execute(), SLIArrayModule::MapFunction::execute(), Add_iiFunction::execute(), AddtotrieFunction::execute(), Get_a_aFunction::execute(), XIfstreamFunction::execute(), Backtrace_offFunction::execute(), ProceduretypeFunction::execute(), DictputFunction::execute(), GNUReadline::GNUReadlineFunction::execute(), IsetcallbackFunction::execute(), RegexpModule::RegcompFunction::execute(), SLIArrayModule::IMapFunction::execute(), SLIgraphics::ReadPGMFunction::execute(), DupFunction::execute(), Add_idFunction::execute(), FilesystemModule::DirectoryFunction::execute(), Cva_tFunction::execute(), Allocations_aFunction::execute(), GNUReadline::GNUAddhistoryFunction::execute(), IfstreamFunction::execute(), RegexpModule::RegexecFunction::execute(), OStackdumpFunction::execute(), LitproceduretypeFunction::execute(), DictgetFunction::execute(), IiterateFunction::execute(), SLIArrayModule::IMap_ivFunction::execute(), ExchFunction::execute(), SLIgraphics::WritePGMFunction::execute(), Add_ddFunction::execute(), Cvt_aFunction::execute(), RegexpModule::RegerrorFunction::execute(), nest::ConnectionGeneratorModule::CGConnect_cg_i_i_D_lFunction::execute(), Get_pFunction::execute(), OfstreamFunction::execute(), EStackdumpFunction::execute(), FunctiontypeFunction::execute(), SLIArrayModule::IMap_dvFunction::execute(), DictbeginFunction::execute(), IloopFunction::execute(), IndexFunction::execute(), TypeFunction::execute(), nest::ConnectionGeneratorModule::CGConnect_cg_iV_iV_D_lFunction::execute(), Sub_diFunction::execute(), nest::TopologyModule::CreateLayer_DFunction::execute(), Get_lpFunction::execute(), SLIArrayModule::MapThreadFunction::execute(), OfsopenFunction::execute(), LoopFunction::execute(), CallbacktypeFunction::execute(), DictendFunction::execute(), nest::ConnectionGeneratorModule::CGParse_sFunction::execute(), RollFunction::execute(), IrepeatFunction::execute(), nest::TopologyModule::GetPosition_iFunction::execute(), SLIArrayModule::IMapThreadFunction::execute(), SpecialFunctionsModule::GammaIncFunction::execute(), Append_aFunction::execute(), Sub_iiFunction::execute(), nest::ConnectionGeneratorModule::CGParseFile_sFunction::execute(), ExitFunction::execute(), XIstreamtypeFunction::execute(), IsstreamFunction::execute(), RolluFunction::execute(), nest::TopologyModule::Displacement_a_iFunction::execute(), IforFunction::execute(), SpecialFunctionsModule::LambertW0Function::execute(), nest::ConnectionGeneratorModule::CGSelectImplementation_s_sFunction::execute(), SLIArrayModule::MapIndexedFunction::execute(), ToUppercase_sFunction::execute(), Append_pFunction::execute(), RandomNumbers::CreateRNGFunction::execute(), QuitFunction::execute(), XIfstreamtypeFunction::execute(), Sub_idFunction::execute(), OsstreamFunction::execute(), nest::TopologyModule::Distance_a_iFunction::execute(), RolldFunction::execute(), nest::ConnectionGeneratorModule::CGSetMask_cg_iV_iVFunction::execute(), SpecialFunctionsModule::LambertWm1Function::execute(), SLIArrayModule::IMapIndexedFunction::execute(), DictinfoFunction::execute(), nest::DynamicLoaderModule::LoadModuleFunction::execute(), FilesystemModule::TmpNamFunction::execute(), IforallarrayFunction::execute(), Append_sFunction::execute(), ToLowercase_sFunction::execute(), RandomNumbers::CreateRDVFunction::execute(), IfFunction::execute(), TrietypeFunction::execute(), nest::TopologyModule::GetGlobalChildren_i_M_aFunction::execute(), StrSStreamFunction::execute(), nest::ConnectionGeneratorModule::CGStart_cgFunction::execute(), RotFunction::execute(), Sub_ddFunction::execute(), SpecialFunctionsModule::ErfFunction::execute(), SLIArrayModule::RangeFunction::execute(), DicttopinfoFunction::execute(), RandomNumbers::SetStatus_vdFunction::execute(), FilesystemModule::CompareFilesFunction::execute(), Prepend_aFunction::execute(), nest::ConnectionGeneratorModule::CGNext_cgFunction::execute(), IforalliterFunction::execute(), IfelseFunction::execute(), nest::TopologyModule::ConnectLayers_i_i_DFunction::execute(), OstrstreamFunction::execute(), OverFunction::execute(), SLIArrayModule::ArraystoreFunction::execute(), SpecialFunctionsModule::ErfcFunction::execute(), nest::DynamicLoaderModule::UnloadModuleFunction::execute(), WhoFunction::execute(), RandomNumbers::GetStatus_vFunction::execute(), Prepend_pFunction::execute(), Mul_diFunction::execute(), nest::TopologyModule::CreateMask_DFunction::execute(), RepeatFunction::execute(), IforallindexedarrayFunction::execute(), CountFunction::execute(), SLIArrayModule::ArrayloadFunction::execute(), StrFunction::execute(), SpecialFunctionsModule::GaussDiskConvFunction::execute(), DictconstructFunction::execute(), RandomNumbers::IrandFunction::execute(), SLIStartup::GetenvFunction::execute(), nest::TopologyModule::Inside_a_MFunction::execute(), Prepend_sFunction::execute(), CloseinputFunction::execute(), SLIArrayModule::ArraycreateFunction::execute(), Mul_iiFunction::execute(), IforallindexedstringFunction::execute(), CopyFunction::execute(), RandomNumbers::DrandFunction::execute(), PrintFunction::execute(), nest::TopologyModule::And_M_MFunction::execute(), DictstackFunction::execute(), Join_sFunction::execute(), StoppedFunction::execute(), SLIArrayModule::ReverseFunction::execute(), RandomNumbers::SeedFunction::execute(), ClearFunction::execute(), nest::TopologyModule::Or_M_MFunction::execute(), Mul_idFunction::execute(), IforallstringFunction::execute(), PrettyprintFunction::execute(), CurrentdictFunction::execute(), Join_aFunction::execute(), SLIArrayModule::RotateFunction::execute(), StopFunction::execute(), RandomNumbers::RandomArrayFunction::execute(), nest::TopologyModule::Sub_M_MFunction::execute(), ExecstackFunction::execute(), CloseistreamFunction::execute(), CountdictstackFunction::execute(), SLIArrayModule::FlattenFunction::execute(), Mul_ddFunction::execute(), Join_pFunction::execute(), CurrentnameFunction::execute(), RandomNumbers::RandomFunction::execute(), nest::TopologyModule::Mul_P_PFunction::execute(), RestoreestackFunction::execute(), CloseostreamFunction::execute(), SLIArrayModule::SortFunction::execute(), CleardictstackFunction::execute(), Insert_sFunction::execute(), nest::TopologyModule::Div_P_PFunction::execute(), IparsestdinFunction::execute(), Div_diFunction::execute(), RestoreostackFunction::execute(), FlushFunction::execute(), Length_dFunction::execute(), nest::TopologyModule::Add_P_PFunction::execute(), Insert_aFunction::execute(), StartFunction::execute(), SLIArrayModule::TransposeFunction::execute(), OperandstackFunction::execute(), EndlFunction::execute(), Div_iiFunction::execute(), Empty_DFunction::execute(), nest::TopologyModule::Sub_P_PFunction::execute(), InsertElement_sFunction::execute(), ParsestdinFunction::execute(), SLIArrayModule::PartitionFunction::execute(), EndsFunction::execute(), nest::TopologyModule::CreateParameter_DFunction::execute(), CleardictFunction::execute(), Div_idFunction::execute(), InsertElement_aFunction::execute(), IparseFunction::execute(), SLIArrayModule::ValidFunction::execute(), nest::TopologyModule::GetValue_a_PFunction::execute(), EatwhiteFunction::execute(), ClonedictFunction::execute(), Div_ddFunction::execute(), Replace_sFunction::execute(), DefFunction::execute(), SLIArrayModule::Put_a_a_tFunction::execute(), nest::NestModule::ChangeSubnet_iFunction::execute(), nest::TopologyModule::DumpLayerNodes_os_iFunction::execute(), SetwFunction::execute(), UndefFunction::execute(), Replace_aFunction::execute(), SetFunction::execute(), nest::NestModule::CurrentSubnetFunction::execute(), nest::TopologyModule::DumpLayerConnections_os_i_lFunction::execute(), SetprecisionFunction::execute(), Mod_iiFunction::execute(), KnownFunction::execute(), Erase_sFunction::execute(), nest::NestModule::GetNodes_i_D_b_bFunction::execute(), LoadFunction::execute(), nest::TopologyModule::GetElement_i_iaFunction::execute(), IOSFixedFunction::execute(), Cva_dFunction::execute(), nest::NestModule::GetLeaves_i_D_bFunction::execute(), nest::TopologyModule::Cvdict_MFunction::execute(), Erase_aFunction::execute(), LookupFunction::execute(), Sin_dFunction::execute(), IOSScientificFunction::execute(), nest::NestModule::GetChildren_i_D_bFunction::execute(), KeysFunction::execute(), Erase_pFunction::execute(), ForFunction::execute(), Asin_dFunction::execute(), nest::NestModule::GetStatus_iFunction::execute(), IOSDefaultFunction::execute(), ValuesFunction::execute(), Forall_aFunction::execute(), Length_sFunction::execute(), nest::NestModule::GetStatus_CFunction::execute(), IOSShowpointFunction::execute(), Cos_dFunction::execute(), RestoredstackFunction::execute(), SLIArrayModule::AreaFunction::execute(), Forall_iterFunction::execute(), Length_aFunction::execute(), nest::NestModule::GetStatus_aFunction::execute(), IOSNoshowpointFunction::execute(), Acos_dFunction::execute(), Length_pFunction::execute(), nest::NestModule::SetStatus_idFunction::execute(), Forallindexed_aFunction::execute(), IOSShowbaseFunction::execute(), Processes::ForkFunction::execute(), nest::NestModule::SetStatus_CDFunction::execute(), Length_lpFunction::execute(), Forallindexed_sFunction::execute(), Exp_dFunction::execute(), IOSNoshowbaseFunction::execute(), nest::NestModule::Cva_CFunction::execute(), Processes::WaitPIDFunction::execute(), Capacity_aFunction::execute(), Forall_sFunction::execute(), Ln_dFunction::execute(), IOSDecFunction::execute(), nest::NestModule::SetStatus_aaFunction::execute(), Processes::KillFunction::execute(), Size_aFunction::execute(), RaiseerrorFunction::execute(), IOSHexFunction::execute(), nest::NestModule::SetDefaults_l_DFunction::execute(), Processes::PipeFunction::execute(), Log_dFunction::execute(), Reserve_aFunction::execute(), PrinterrorFunction::execute(), Processes::Dup2_is_isFunction::execute(), SLIArrayModule::Area2Function::execute(), nest::NestModule::GetDefaults_lFunction::execute(), IOSOctFunction::execute(), Processes::Dup2_os_osFunction::execute(), Sqr_dFunction::execute(), SLIArrayModule::Cv1dFunction::execute(), Resize_aFunction::execute(), RaiseagainFunction::execute(), nest::NestModule::CopyModel_l_l_DFunction::execute(), IOSLeftFunction::execute(), Processes::Dup2_is_osFunction::execute(), SLIArrayModule::Cv2dFunction::execute(), nest::NestModule::GetConnections_DFunction::execute(), Empty_aFunction::execute(), CyclesFunction::execute(), Sqrt_dFunction::execute(), Processes::Dup2_os_isFunction::execute(), execute(), IOSRightFunction::execute(), SLIArrayModule::GetMaxFunction::execute(), nest::NestModule::SimulateFunction::execute(), References_aFunction::execute(), Processes::AvailableFunction::execute(), CodeAccessedFunction::execute(), IOSInternalFunction::execute(), Pow_ddFunction::execute(), SLIArrayModule::GetMinFunction::execute(), nest::NestModule::ResumeSimulationFunction::execute(), Processes::GetPIDFunction::execute(), CodeExecutedFunction::execute(), Shrink_aFunction::execute(), GetcFunction::execute(), Processes::GetPPIDFunction::execute(), nest::NestModule::Create_l_iFunction::execute(), Pow_diFunction::execute(), ExecFunction::execute(), Processes::GetPGRPFunction::execute(), Capacity_sFunction::execute(), SLIArrayModule::GaborFunction::execute(), nest::NestModule::RestoreNodes_aFunction::execute(), GetsFunction::execute(), Processes::MkfifoFunction::execute(), Modf_dFunction::execute(), Size_sFunction::execute(), TypeinfoFunction::execute(), nest::NestModule::DataConnect_i_D_sFunction::execute(), GetlineFunction::execute(), Processes::MemoryThisjobBgFunction::execute(), nest::NestModule::DataConnect_aFunction::execute(), SLIArrayModule::Gauss2dFunction::execute(), Reserve_sFunction::execute(), Frexp_dFunction::execute(), IGoodFunction::execute(), Processes::MemoryThisjobDarwinFunction::execute(), nest::NestModule::Connect_i_i_lFunction::execute(), Resize_sFunction::execute(), IClearFunction::execute(), Ldexp_diFunction::execute(), Processes::SetNonblockFunction::execute(), SLIArrayModule::Array2IntVectorFunction::execute(), nest::NestModule::Connect_i_i_d_d_lFunction::execute(), Empty_sFunction::execute(), OClearFunction::execute(), Processes::CtermidFunction::execute(), nest::NestModule::Connect_i_i_D_lFunction::execute(), Dexp_iFunction::execute(), Getinterval_sFunction::execute(), Processes::Isatty_isFunction::execute(), IFailFunction::execute(), SLIArrayModule::Array2DoubleVectorFunction::execute(), nest::NestModule::Connect_g_g_D_DFunction::execute(), Processes::Isatty_osFunction::execute(), Getinterval_aFunction::execute(), SwitchFunction::execute(), OGoodFunction::execute(), nest::NestModule::DivergentConnect_i_ia_a_a_lFunction::execute(), SLIArrayModule::DoubleVector2ArrayFunction::execute(), Abs_iFunction::execute(), Cvx_aFunction::execute(), nest::NestModule::RDivergentConnect_i_i_ia_da_da_b_b_lFunction::execute(), Cvx_fFunction::execute(), SLIArrayModule::IntVector2ArrayFunction::execute(), Abs_dFunction::execute(), Cvlit_nFunction::execute(), nest::NestModule::ConvergentConnect_ia_i_a_a_lFunction::execute(), SLIArrayModule::Add_iv_ivFunction::execute(), IEofFunction::execute(), SLIArrayModule::Add_i_ivFunction::execute(), nest::NestModule::RConvergentConnect_ia_i_i_da_da_b_b_lFunction::execute(), Cvlit_pFunction::execute(), Neg_iFunction::execute(), OEofFunction::execute(), SLIArrayModule::Neg_ivFunction::execute(), nest::NestModule::RConvergentConnect_ia_ia_ia_daa_daa_b_b_lFunction::execute(), Cvlp_pFunction::execute(), Neg_dFunction::execute(), In_AvailFunction::execute(), SLIArrayModule::Sub_iv_ivFunction::execute(), nest::NestModule::ResetKernelFunction::execute(), RangeIterator_aFunction::execute(), ReadDoubleFunction::execute(), nest::NestModule::ResetNetworkFunction::execute(), SLIArrayModule::Mul_iv_ivFunction::execute(), Inv_dFunction::execute(), IteratorSize_iterFunction::execute(), nest::NestModule::MemoryInfoFunction::execute(), ReadIntFunction::execute(), SLIArrayModule::Mul_i_ivFunction::execute(), SwitchdefaultFunction::execute(), nest::NestModule::PrintNetworkFunction::execute(), Cvn_sFunction::execute(), EqFunction::execute(), SLIArrayModule::Mul_d_ivFunction::execute(), ReadWordFunction::execute(), nest::NestModule::RankFunction::execute(), Cvn_lFunction::execute(), SLIArrayModule::Div_iv_ivFunction::execute(), nest::NestModule::NumProcessesFunction::execute(), NeqFunction::execute(), SLIArrayModule::Add_dv_dvFunction::execute(), nest::NestModule::SetFakeNumProcessesFunction_i::execute(), AndFunction::execute(), nest::NestModule::SetNumRecProcessesFunction_i::execute(), SLIArrayModule::Add_d_dvFunction::execute(), nest::NestModule::SyncProcessesFunction::execute(), SLIArrayModule::Sub_dv_dvFunction::execute(), OrFunction::execute(), nest::NestModule::TimeCommunication_i_i_bFunction::execute(), SLIArrayModule::Mul_dv_dvFunction::execute(), nest::NestModule::TimeCommunicationv_i_iFunction::execute(), CaseFunction::execute(), SLIArrayModule::Mul_d_dvFunction::execute(), And_iiFunction::execute(), nest::NestModule::TimeCommunicationAlltoall_i_iFunction::execute(), Cvi_sFunction::execute(), SLIArrayModule::Div_dv_dvFunction::execute(), CounttomarkFunction::execute(), nest::NestModule::TimeCommunicationAlltoallv_i_iFunction::execute(), Or_iiFunction::execute(), SLIArrayModule::Neg_dvFunction::execute(), nest::NestModule::ProcessorNameFunction::execute(), PclocksFunction::execute(), SLIArrayModule::Inv_dvFunction::execute(), XorFunction::execute(), nest::NestModule::MPIAbort_iFunction::execute(), SLIArrayModule::Length_dvFunction::execute(), PclockspersecFunction::execute(), SLIArrayModule::Length_ivFunction::execute(), nest::NestModule::GetVpRngFunction::execute(), PgetrusageFunction::execute(), Not_bFunction::execute(), nest::NestModule::GetGlobalRngFunction::execute(), SLIArrayModule::Get_iv_iFunction::execute(), nest::NestModule::Cvdict_CFunction::execute(), Not_iFunction::execute(), SLIArrayModule::Get_iv_ivFunction::execute(), Cvd_sFunction::execute(), TimeFunction::execute(), nest::NestModule::Cvgidcollection_i_iFunction::execute(), SLIArrayModule::Get_dv_ivFunction::execute(), Get_sFunction::execute(), Sleep_iFunction::execute(), nest::NestModule::Cvgidcollection_iaFunction::execute(), Geq_iiFunction::execute(), SLIArrayModule::Get_dv_iFunction::execute(), nest::NestModule::Cvgidcollection_ivFunction::execute(), Put_sFunction::execute(), Sleep_dFunction::execute(), SLIArrayModule::Put_dv_i_dFunction::execute(), Geq_idFunction::execute(), nest::NestModule::Size_gFunction::execute(), SLIArrayModule::Put_iv_i_iFunction::execute(), Token_sFunction::execute(), Put_aFunction::execute(), nest::NestModule::SetAcceptableLatencyFunction::execute(), Geq_diFunction::execute(), SLIArrayModule::Zeros_ivFunction::execute(), Put_pFunction::execute(), Token_isFunction::execute(), nest::NestModule::SetMaxBufferedFunction::execute(), SLIArrayModule::Zeros_dvFunction::execute(), Geq_ddFunction::execute(), Symbol_sFunction::execute(), Put_lpFunction::execute(), SLIArrayModule::Ones_dvFunction::execute(), SLIArrayModule::Ones_ivFunction::execute(), Search_sFunction::execute(), SetGuardFunction::execute(), Leq_iiFunction::execute(), SLIArrayModule::ArangeFunction::execute(), Search_aFunction::execute(), RemoveGuardFunction::execute(), Leq_idFunction::execute(), MessageFunction::execute(), SLIArrayModule::FiniteQ_dFunction::execute(), Leq_diFunction::execute(), SetVerbosityFunction::execute(), SLIArrayModule::Forall_ivFunction::execute(), IrepeatanyFunction::execute(), VerbosityFunction::execute(), SLIArrayModule::Forall_dvFunction::execute(), Leq_ddFunction::execute(), RepeatanyFunction::execute(), SLIArrayModule::Iforall_ivFunction::execute(), NoopFunction::execute(), Gt_iiFunction::execute(), SLIArrayModule::Iforall_dvFunction::execute(), DebugOnFunction::execute(), Gt_ddFunction::execute(), DebugOffFunction::execute(), DebugFunction::execute(), Gt_idFunction::execute(), Gt_diFunction::execute(), Gt_ssFunction::execute(), Lt_iiFunction::execute(), Lt_ddFunction::execute(), Lt_idFunction::execute(), Lt_diFunction::execute(), Lt_ssFunction::execute(), IntegerFunction::execute(), DoubleFunction::execute(), UnitStep_iFunction::execute(), UnitStep_dFunction::execute(), UnitStep_iaFunction::execute(), UnitStep_daFunction::execute(), Round_dFunction::execute(), Floor_dFunction::execute(), Ceil_dFunction::execute(), Max_i_iFunction::execute(), Max_i_dFunction::execute(), Max_d_iFunction::execute(), Max_d_dFunction::execute(), Min_i_iFunction::execute(), Min_i_dFunction::execute(), Min_d_iFunction::execute(), Min_d_dFunction::execute(), execute_(), execute_debug_(), nest::Network::execute_sli_protected(), getcurrentname(), SLIStartup::init(), raiseagain(), raiseerror(), stack_backtrace(), startup(), and ~SLIInterpreter().

Name SLIInterpreter::estack_name

Referenced by raiseerror().

Token SLIInterpreter::execbarrier_token
Name SLIInterpreter::false_name
SLIType SLIInterpreter::Functiontype
static

Referenced by inittypes(), and ~SLIInterpreter().

FunctiontypeFunction SLIInterpreter::functiontypefunction
static

Referenced by inittypes().

Name SLIInterpreter::ifor_name
Name SLIInterpreter::iforallarray_name
const IforallarrayFunction SLIInterpreter::iforallarrayfunction
static
Name SLIInterpreter::iforallindexedarray_name
const IforallindexedarrayFunction SLIInterpreter::iforallindexedarrayfunction
static
Name SLIInterpreter::iforallindexedstring_name
const IforallindexedstringFunction SLIInterpreter::iforallindexedstringfunction
static
Name SLIInterpreter::iforalliter_name
const IforalliterFunction SLIInterpreter::iforalliterfunction
static
Name SLIInterpreter::iforallstring_name
const IforallstringFunction SLIInterpreter::iforallstringfunction
static
const IforFunction SLIInterpreter::iforfunction
static
Name SLIInterpreter::iiterate_name

Referenced by Iiterate(), and initbuiltins().

const IiterateFunction SLIInterpreter::iiteratefunction
static
Name SLIInterpreter::ilookup_name
const IlookupFunction SLIInterpreter::ilookupfunction
static
Name SLIInterpreter::iloop_name
const IloopFunction SLIInterpreter::iloopfunction
static
SLIType SLIInterpreter::Integertype
static

Referenced by inittypes(), and ~SLIInterpreter().

Name SLIInterpreter::InternalKernelError
Name SLIInterpreter::interpreter_name

Referenced by getcurrentname().

SLIType SLIInterpreter::IntVectortype
static

Referenced by inittypes(), and ~SLIInterpreter().

Name SLIInterpreter::iparse_name
Name SLIInterpreter::ipop_name
Name SLIInterpreter::irepeat_name
const IrepeatFunction SLIInterpreter::irepeatfunction
static
Name SLIInterpreter::isetcallback_name
const IsetcallbackFunction SLIInterpreter::isetcallbackfunction
static
Name SLIInterpreter::istopped_name
SLIType SLIInterpreter::Istreamtype
static

Referenced by inittypes(), and ~SLIInterpreter().

SLIType SLIInterpreter::Iteratortype
static

Referenced by inittypes().

Name SLIInterpreter::KernelError
SLIType SLIInterpreter::Literaltype
static

Referenced by inittypes(), and ~SLIInterpreter().

SLIType SLIInterpreter::Litproceduretype
static
LitproceduretypeFunction SLIInterpreter::litproceduretypefunction
static

Referenced by inittypes().

const int SLIInterpreter::M_ALL =0
static

Predefined error level for turning on the display of all messages; for use with verbosity(int).

Referenced by SLIStartup::SLIStartup().

const char *const SLIInterpreter::M_ALL_NAME =""
staticprivate

Referenced by message().

const int SLIInterpreter::M_DEBUG =5
static
const char *const SLIInterpreter::M_DEBUG_NAME ="Debug"
staticprivate

Referenced by message().

const int SLIInterpreter::M_ERROR =30
static

Predefined error level for error messages.

Referenced by nest::Network::add_node(), addmodule(), nest::sli_neuron::calibrate(), nest::RecordingDevice::calibrate(), nest::cg_connect(), SLIStartup::checkenvpath(), nest::OneToOneBuilder::connect_(), nest::Network::convergent_connect(), nest::Network::divergent_connect(), AddtotrieFunction::execute(), Get_a_aFunction::execute(), SLIgraphics::ReadPGMFunction::execute(), SLIArrayModule::IMap_ivFunction::execute(), SLIgraphics::WritePGMFunction::execute(), nest::ConnectionGeneratorModule::CGConnect_cg_i_i_D_lFunction::execute(), SLIArrayModule::IMap_dvFunction::execute(), FilesystemModule::CopyFileFunction::execute(), nest::DynamicLoaderModule::UnloadModuleFunction::execute(), SLIArrayModule::ArraycreateFunction::execute(), Join_sFunction::execute(), SLIArrayModule::SortFunction::execute(), StartFunction::execute(), SLIArrayModule::Put_a_a_tFunction::execute(), SLIArrayModule::AreaFunction::execute(), RaiseerrorFunction::execute(), SLIArrayModule::Area2Function::execute(), SLIArrayModule::Cv1dFunction::execute(), SLIArrayModule::Cv2dFunction::execute(), SLIArrayModule::GetMaxFunction::execute(), SLIArrayModule::GetMinFunction::execute(), SLIArrayModule::GaborFunction::execute(), SLIArrayModule::Gauss2dFunction::execute(), SLIArrayModule::Add_iv_ivFunction::execute(), SLIArrayModule::Sub_iv_ivFunction::execute(), SLIArrayModule::Mul_iv_ivFunction::execute(), SLIArrayModule::Div_iv_ivFunction::execute(), SLIArrayModule::Add_dv_dvFunction::execute(), SLIArrayModule::Sub_dv_dvFunction::execute(), SLIArrayModule::Mul_dv_dvFunction::execute(), SLIArrayModule::Div_dv_dvFunction::execute(), PclocksFunction::execute(), SLIArrayModule::Inv_dvFunction::execute(), PclockspersecFunction::execute(), PgetrusageFunction::execute(), nest::Network::execute_sli_protected(), nest::RecordingDevice::finalize(), nest::Scheduler::finalize_simulation(), nest::DynamicLoaderModule::init(), nest::Scheduler::init_(), message(), nest::Scheduler::prepare_nodes(), nest::Scheduler::prepare_simulation(), print_error(), nest::Network::random_convergent_connect(), nest::Network::random_divergent_connect(), nest::Scheduler::resume(), nest::Network::set_data_path_prefix_(), nest::GenericConnectorModel< ConnectionT >::set_status(), nest::Scheduler::simulate(), SLIStartup::SLIStartup(), nest::iaf_psc_alpha_presc::thresh_find_(), and nest::sli_neuron::update().

const char *const SLIInterpreter::M_ERROR_NAME ="Error"
staticprivate

Referenced by message().

const int SLIInterpreter::M_FATAL =40
static

Predefined error level for failure messages.

Referenced by execute_(), execute_debug_(), SLIStartup::init(), message(), SLIStartup::SLIStartup(), and terminate().

const char *const SLIInterpreter::M_FATAL_NAME ="Fatal"
staticprivate

Referenced by message().

const int SLIInterpreter::M_INFO =10
static
const char *const SLIInterpreter::M_INFO_NAME ="Info"
staticprivate

Referenced by message().

const int SLIInterpreter::M_QUIET =100
static

An error level above all others. Use to turn off messages completely.

Referenced by SLIStartup::init(), and SLIStartup::SLIStartup().

const char *const SLIInterpreter::M_QUIET_NAME =""
staticprivate
const int SLIInterpreter::M_STATUS =7
static

Predefined error level for status messages.

Referenced by nest::DynamicLoaderModule::initLinkedModules(), message(), and SLIStartup::SLIStartup().

const char *const SLIInterpreter::M_STATUS_NAME ="Status"
staticprivate

Referenced by message().

const int SLIInterpreter::M_WARNING =20
static
const char *const SLIInterpreter::M_WARNING_NAME ="Warning"
staticprivate

Referenced by message().

Name SLIInterpreter::mark_name
int SLIInterpreter::max_call_depth_
private

Depth until which procedure calls are debugged.

Referenced by debug_commandline(), get_max_call_depth(), set_max_call_depth(), and step_mode().

std::list<SLIModule *> SLIInterpreter::modules
private

Referenced by addmodule(), and ~SLIInterpreter().

SLIType SLIInterpreter::Nametype
static

Referenced by inittypes(), and ~SLIInterpreter().

NametypeFunction SLIInterpreter::nametypefunction
static

Referenced by inittypes().

Name SLIInterpreter::newerror_name
Name SLIInterpreter::null_name
bool SLIInterpreter::opt_tailrecursion_
private
TokenStack SLIInterpreter::OStack

Referenced by __pyx_pf_12pynestkernel_10NESTEngine_10pop(), __pyx_pf_12pynestkernel_10NESTEngine_12push_connection_datums(), __pyx_pf_12pynestkernel_10NESTEngine_8push(), assert_stack_load(), debug_commandline(), eq_execute(), TrieFunction::execute(), DatatypeFunction::execute(), OOSupportModule::CallMemberFunction::execute(), PopFunction::execute(), Add_diFunction::execute(), TrieInfoFunction::execute(), FilesystemModule::FileNamesFunction::execute(), Get_aFunction::execute(), MathLinkPutStringFunction::execute(), DictFunction::execute(), NpopFunction::execute(), SLIArrayModule::MapFunction::execute(), Add_iiFunction::execute(), AddtotrieFunction::execute(), Get_a_aFunction::execute(), XIfstreamFunction::execute(), DictputFunction::execute(), GNUReadline::GNUReadlineFunction::execute(), RegexpModule::RegcompFunction::execute(), SLIArrayModule::IMapFunction::execute(), SLIgraphics::ReadPGMFunction::execute(), DupFunction::execute(), Add_idFunction::execute(), FilesystemModule::DirectoryFunction::execute(), Cva_tFunction::execute(), Allocations_aFunction::execute(), GNUReadline::GNUAddhistoryFunction::execute(), IfstreamFunction::execute(), RegexpModule::RegexecFunction::execute(), LitproceduretypeFunction::execute(), DictgetFunction::execute(), IiterateFunction::execute(), OStackdumpFunction::execute(), SLIArrayModule::IMap_ivFunction::execute(), ExchFunction::execute(), Add_ddFunction::execute(), SLIgraphics::WritePGMFunction::execute(), RegexpModule::RegerrorFunction::execute(), Cvt_aFunction::execute(), Get_pFunction::execute(), nest::ConnectionGeneratorModule::CGConnect_cg_i_i_D_lFunction::execute(), OfstreamFunction::execute(), SLIArrayModule::IMap_dvFunction::execute(), DictbeginFunction::execute(), IloopFunction::execute(), IndexFunction::execute(), nest::ConnectionGeneratorModule::CGConnect_cg_iV_iV_D_lFunction::execute(), Sub_diFunction::execute(), TypeFunction::execute(), nest::TopologyModule::CreateLayer_DFunction::execute(), Get_lpFunction::execute(), SLIArrayModule::MapThreadFunction::execute(), OfsopenFunction::execute(), LoopFunction::execute(), nest::ConnectionGeneratorModule::CGParse_sFunction::execute(), RollFunction::execute(), IrepeatFunction::execute(), nest::TopologyModule::GetPosition_iFunction::execute(), SLIArrayModule::IMapThreadFunction::execute(), Append_aFunction::execute(), Sub_iiFunction::execute(), SpecialFunctionsModule::GammaIncFunction::execute(), nest::ConnectionGeneratorModule::CGParseFile_sFunction::execute(), IsstreamFunction::execute(), RolluFunction::execute(), nest::TopologyModule::Displacement_a_iFunction::execute(), IforFunction::execute(), nest::ConnectionGeneratorModule::CGSelectImplementation_s_sFunction::execute(), SLIArrayModule::MapIndexedFunction::execute(), SpecialFunctionsModule::LambertW0Function::execute(), Append_pFunction::execute(), RandomNumbers::CreateRNGFunction::execute(), ToUppercase_sFunction::execute(), Sub_idFunction::execute(), OsstreamFunction::execute(), nest::TopologyModule::Distance_a_iFunction::execute(), RolldFunction::execute(), nest::ConnectionGeneratorModule::CGSetMask_cg_iV_iVFunction::execute(), DictinfoFunction::execute(), SLIArrayModule::IMapIndexedFunction::execute(), SpecialFunctionsModule::LambertWm1Function::execute(), nest::DynamicLoaderModule::LoadModuleFunction::execute(), FilesystemModule::TmpNamFunction::execute(), IforallarrayFunction::execute(), Append_sFunction::execute(), RandomNumbers::CreateRDVFunction::execute(), ToLowercase_sFunction::execute(), TrietypeFunction::execute(), IfFunction::execute(), StrSStreamFunction::execute(), nest::ConnectionGeneratorModule::CGStart_cgFunction::execute(), nest::TopologyModule::GetGlobalChildren_i_M_aFunction::execute(), RotFunction::execute(), Sub_ddFunction::execute(), SLIArrayModule::RangeFunction::execute(), SpecialFunctionsModule::ErfFunction::execute(), DicttopinfoFunction::execute(), RandomNumbers::SetStatus_vdFunction::execute(), FilesystemModule::CompareFilesFunction::execute(), nest::ConnectionGeneratorModule::CGNext_cgFunction::execute(), Prepend_aFunction::execute(), IforalliterFunction::execute(), IfelseFunction::execute(), nest::TopologyModule::ConnectLayers_i_i_DFunction::execute(), OverFunction::execute(), OstrstreamFunction::execute(), SLIArrayModule::ArraystoreFunction::execute(), nest::DynamicLoaderModule::UnloadModuleFunction::execute(), WhoFunction::execute(), RandomNumbers::GetStatus_vFunction::execute(), SpecialFunctionsModule::ErfcFunction::execute(), Prepend_pFunction::execute(), Mul_diFunction::execute(), nest::TopologyModule::CreateMask_DFunction::execute(), RepeatFunction::execute(), IforallindexedarrayFunction::execute(), CountFunction::execute(), SLIArrayModule::ArrayloadFunction::execute(), StrFunction::execute(), SpecialFunctionsModule::GaussDiskConvFunction::execute(), DictconstructFunction::execute(), SLIStartup::GetenvFunction::execute(), RandomNumbers::IrandFunction::execute(), nest::TopologyModule::Inside_a_MFunction::execute(), Prepend_sFunction::execute(), SLIArrayModule::ArraycreateFunction::execute(), Mul_iiFunction::execute(), CopyFunction::execute(), IforallindexedstringFunction::execute(), RandomNumbers::DrandFunction::execute(), PrintFunction::execute(), DictstackFunction::execute(), nest::TopologyModule::And_M_MFunction::execute(), Join_sFunction::execute(), SLIArrayModule::ReverseFunction::execute(), StoppedFunction::execute(), RandomNumbers::SeedFunction::execute(), ClearFunction::execute(), Mul_idFunction::execute(), PrettyprintFunction::execute(), IforallstringFunction::execute(), nest::TopologyModule::Or_M_MFunction::execute(), CurrentdictFunction::execute(), Join_aFunction::execute(), SLIArrayModule::RotateFunction::execute(), StopFunction::execute(), RandomNumbers::RandomArrayFunction::execute(), ExecstackFunction::execute(), nest::TopologyModule::Sub_M_MFunction::execute(), CloseistreamFunction::execute(), CountdictstackFunction::execute(), SLIArrayModule::FlattenFunction::execute(), Mul_ddFunction::execute(), Join_pFunction::execute(), RandomNumbers::RandomFunction::execute(), CurrentnameFunction::execute(), nest::TopologyModule::Mul_P_PFunction::execute(), RestoreestackFunction::execute(), CloseostreamFunction::execute(), SLIArrayModule::SortFunction::execute(), Insert_sFunction::execute(), nest::TopologyModule::Div_P_PFunction::execute(), Div_diFunction::execute(), RestoreostackFunction::execute(), FlushFunction::execute(), Length_dFunction::execute(), nest::TopologyModule::Add_P_PFunction::execute(), Insert_aFunction::execute(), SLIArrayModule::TransposeFunction::execute(), OperandstackFunction::execute(), EndlFunction::execute(), Div_iiFunction::execute(), Empty_DFunction::execute(), nest::TopologyModule::Sub_P_PFunction::execute(), InsertElement_sFunction::execute(), SLIArrayModule::PartitionFunction::execute(), EndsFunction::execute(), CleardictFunction::execute(), nest::TopologyModule::CreateParameter_DFunction::execute(), Div_idFunction::execute(), InsertElement_aFunction::execute(), SLIArrayModule::ValidFunction::execute(), EatwhiteFunction::execute(), nest::TopologyModule::GetValue_a_PFunction::execute(), ClonedictFunction::execute(), Replace_sFunction::execute(), Div_ddFunction::execute(), SLIArrayModule::Put_a_a_tFunction::execute(), DefFunction::execute(), nest::NestModule::ChangeSubnet_iFunction::execute(), nest::TopologyModule::DumpLayerNodes_os_iFunction::execute(), SetwFunction::execute(), UndefFunction::execute(), Replace_aFunction::execute(), SetFunction::execute(), nest::NestModule::CurrentSubnetFunction::execute(), nest::TopologyModule::DumpLayerConnections_os_i_lFunction::execute(), Mod_iiFunction::execute(), SetprecisionFunction::execute(), KnownFunction::execute(), Erase_sFunction::execute(), nest::NestModule::GetNodes_i_D_b_bFunction::execute(), LoadFunction::execute(), nest::TopologyModule::GetElement_i_iaFunction::execute(), IOSFixedFunction::execute(), Cva_dFunction::execute(), nest::NestModule::GetLeaves_i_D_bFunction::execute(), Erase_aFunction::execute(), nest::TopologyModule::Cvdict_MFunction::execute(), Sin_dFunction::execute(), LookupFunction::execute(), IOSScientificFunction::execute(), nest::NestModule::GetChildren_i_D_bFunction::execute(), KeysFunction::execute(), Erase_pFunction::execute(), ForFunction::execute(), Asin_dFunction::execute(), IOSDefaultFunction::execute(), nest::NestModule::GetStatus_iFunction::execute(), ValuesFunction::execute(), Length_sFunction::execute(), Forall_aFunction::execute(), nest::NestModule::GetStatus_CFunction::execute(), IOSShowpointFunction::execute(), RestoredstackFunction::execute(), Cos_dFunction::execute(), SLIArrayModule::AreaFunction::execute(), Length_aFunction::execute(), Forall_iterFunction::execute(), nest::NestModule::GetStatus_aFunction::execute(), IOSNoshowpointFunction::execute(), Acos_dFunction::execute(), Length_pFunction::execute(), nest::NestModule::SetStatus_idFunction::execute(), Forallindexed_aFunction::execute(), IOSShowbaseFunction::execute(), Processes::ForkFunction::execute(), nest::NestModule::SetStatus_CDFunction::execute(), Length_lpFunction::execute(), Exp_dFunction::execute(), Forallindexed_sFunction::execute(), Processes::Sysexec_aFunction::execute(), IOSNoshowbaseFunction::execute(), nest::NestModule::Cva_CFunction::execute(), Capacity_aFunction::execute(), Processes::WaitPIDFunction::execute(), Forall_sFunction::execute(), Ln_dFunction::execute(), IOSDecFunction::execute(), nest::NestModule::SetStatus_aaFunction::execute(), Processes::KillFunction::execute(), Size_aFunction::execute(), RaiseerrorFunction::execute(), IOSHexFunction::execute(), nest::NestModule::SetDefaults_l_DFunction::execute(), Processes::PipeFunction::execute(), Log_dFunction::execute(), Reserve_aFunction::execute(), Processes::Dup2_is_isFunction::execute(), SLIArrayModule::Area2Function::execute(), PrinterrorFunction::execute(), nest::NestModule::GetDefaults_lFunction::execute(), IOSOctFunction::execute(), Processes::Dup2_os_osFunction::execute(), Sqr_dFunction::execute(), Resize_aFunction::execute(), SLIArrayModule::Cv1dFunction::execute(), nest::NestModule::CopyModel_l_l_DFunction::execute(), IOSLeftFunction::execute(), Processes::Dup2_is_osFunction::execute(), SLIArrayModule::Cv2dFunction::execute(), nest::NestModule::GetConnections_DFunction::execute(), Empty_aFunction::execute(), Sqrt_dFunction::execute(), CyclesFunction::execute(), execute(), Processes::Dup2_os_isFunction::execute(), IOSRightFunction::execute(), SLIArrayModule::GetMaxFunction::execute(), nest::NestModule::SimulateFunction::execute(), References_aFunction::execute(), Processes::AvailableFunction::execute(), CodeAccessedFunction::execute(), IOSInternalFunction::execute(), Pow_ddFunction::execute(), SLIArrayModule::GetMinFunction::execute(), Processes::GetPIDFunction::execute(), CodeExecutedFunction::execute(), Shrink_aFunction::execute(), GetcFunction::execute(), Processes::GetPPIDFunction::execute(), nest::NestModule::Create_l_iFunction::execute(), Pow_diFunction::execute(), ExecFunction::execute(), Capacity_sFunction::execute(), Processes::GetPGRPFunction::execute(), GetsFunction::execute(), nest::NestModule::RestoreNodes_aFunction::execute(), SLIArrayModule::GaborFunction::execute(), Processes::MkfifoFunction::execute(), Modf_dFunction::execute(), Size_sFunction::execute(), TypeinfoFunction::execute(), nest::NestModule::DataConnect_i_D_sFunction::execute(), GetlineFunction::execute(), Processes::MemoryThisjobBgFunction::execute(), Reserve_sFunction::execute(), SLIArrayModule::Gauss2dFunction::execute(), nest::NestModule::DataConnect_aFunction::execute(), Frexp_dFunction::execute(), IGoodFunction::execute(), Processes::MemoryThisjobDarwinFunction::execute(), nest::NestModule::Connect_i_i_lFunction::execute(), Resize_sFunction::execute(), IClearFunction::execute(), Ldexp_diFunction::execute(), Processes::SetNonblockFunction::execute(), nest::NestModule::Connect_i_i_d_d_lFunction::execute(), SLIArrayModule::Array2IntVectorFunction::execute(), Empty_sFunction::execute(), OClearFunction::execute(), Processes::CtermidFunction::execute(), nest::NestModule::Connect_i_i_D_lFunction::execute(), Dexp_iFunction::execute(), Getinterval_sFunction::execute(), Processes::Isatty_isFunction::execute(), IFailFunction::execute(), SLIArrayModule::Array2DoubleVectorFunction::execute(), nest::NestModule::Connect_g_g_D_DFunction::execute(), Processes::Isatty_osFunction::execute(), Getinterval_aFunction::execute(), SwitchFunction::execute(), OGoodFunction::execute(), nest::NestModule::DivergentConnect_i_ia_a_a_lFunction::execute(), SLIArrayModule::DoubleVector2ArrayFunction::execute(), Abs_iFunction::execute(), Cvx_aFunction::execute(), nest::NestModule::RDivergentConnect_i_i_ia_da_da_b_b_lFunction::execute(), Cvx_fFunction::execute(), SLIArrayModule::IntVector2ArrayFunction::execute(), Abs_dFunction::execute(), Cvlit_nFunction::execute(), nest::NestModule::ConvergentConnect_ia_i_a_a_lFunction::execute(), SLIArrayModule::Add_iv_ivFunction::execute(), IEofFunction::execute(), SLIArrayModule::Add_i_ivFunction::execute(), nest::NestModule::RConvergentConnect_ia_i_i_da_da_b_b_lFunction::execute(), Cvlit_pFunction::execute(), Neg_iFunction::execute(), OEofFunction::execute(), SLIArrayModule::Neg_ivFunction::execute(), nest::NestModule::RConvergentConnect_ia_ia_ia_daa_daa_b_b_lFunction::execute(), Cvlp_pFunction::execute(), Neg_dFunction::execute(), In_AvailFunction::execute(), SLIArrayModule::Sub_iv_ivFunction::execute(), RangeIterator_aFunction::execute(), ReadDoubleFunction::execute(), SLIArrayModule::Mul_iv_ivFunction::execute(), Inv_dFunction::execute(), IteratorSize_iterFunction::execute(), SLIArrayModule::Mul_i_ivFunction::execute(), ReadIntFunction::execute(), SwitchdefaultFunction::execute(), nest::NestModule::PrintNetworkFunction::execute(), Cvn_sFunction::execute(), EqFunction::execute(), SLIArrayModule::Mul_d_ivFunction::execute(), ReadWordFunction::execute(), nest::NestModule::RankFunction::execute(), Cvn_lFunction::execute(), SLIArrayModule::Div_iv_ivFunction::execute(), NeqFunction::execute(), nest::NestModule::NumProcessesFunction::execute(), SLIArrayModule::Add_dv_dvFunction::execute(), nest::NestModule::SetFakeNumProcessesFunction_i::execute(), AndFunction::execute(), nest::NestModule::SetNumRecProcessesFunction_i::execute(), SLIArrayModule::Add_d_dvFunction::execute(), SLIArrayModule::Sub_dv_dvFunction::execute(), OrFunction::execute(), nest::NestModule::TimeCommunication_i_i_bFunction::execute(), SLIArrayModule::Mul_dv_dvFunction::execute(), nest::NestModule::TimeCommunicationv_i_iFunction::execute(), CaseFunction::execute(), And_iiFunction::execute(), SLIArrayModule::Mul_d_dvFunction::execute(), nest::NestModule::TimeCommunicationAlltoall_i_iFunction::execute(), Cvi_sFunction::execute(), SLIArrayModule::Div_dv_dvFunction::execute(), CounttomarkFunction::execute(), nest::NestModule::TimeCommunicationAlltoallv_i_iFunction::execute(), Or_iiFunction::execute(), SLIArrayModule::Neg_dvFunction::execute(), PclocksFunction::execute(), nest::NestModule::ProcessorNameFunction::execute(), SLIArrayModule::Inv_dvFunction::execute(), XorFunction::execute(), nest::NestModule::MPIAbort_iFunction::execute(), PclockspersecFunction::execute(), SLIArrayModule::Length_dvFunction::execute(), nest::NestModule::GetVpRngFunction::execute(), SLIArrayModule::Length_ivFunction::execute(), PgetrusageFunction::execute(), Not_bFunction::execute(), nest::NestModule::GetGlobalRngFunction::execute(), SLIArrayModule::Get_iv_iFunction::execute(), nest::NestModule::Cvdict_CFunction::execute(), Not_iFunction::execute(), SLIArrayModule::Get_iv_ivFunction::execute(), Cvd_sFunction::execute(), TimeFunction::execute(), nest::NestModule::Cvgidcollection_i_iFunction::execute(), SLIArrayModule::Get_dv_ivFunction::execute(), Sleep_iFunction::execute(), Get_sFunction::execute(), nest::NestModule::Cvgidcollection_iaFunction::execute(), Geq_iiFunction::execute(), SLIArrayModule::Get_dv_iFunction::execute(), nest::NestModule::Cvgidcollection_ivFunction::execute(), Sleep_dFunction::execute(), Put_sFunction::execute(), SLIArrayModule::Put_dv_i_dFunction::execute(), Geq_idFunction::execute(), nest::NestModule::Size_gFunction::execute(), SLIArrayModule::Put_iv_i_iFunction::execute(), Put_aFunction::execute(), Token_sFunction::execute(), nest::NestModule::SetAcceptableLatencyFunction::execute(), Geq_diFunction::execute(), SLIArrayModule::Zeros_ivFunction::execute(), Token_isFunction::execute(), Put_pFunction::execute(), nest::NestModule::SetMaxBufferedFunction::execute(), SLIArrayModule::Zeros_dvFunction::execute(), Put_lpFunction::execute(), Symbol_sFunction::execute(), Geq_ddFunction::execute(), SLIArrayModule::Ones_dvFunction::execute(), SLIArrayModule::Ones_ivFunction::execute(), SetGuardFunction::execute(), Search_sFunction::execute(), Leq_iiFunction::execute(), SLIArrayModule::ArangeFunction::execute(), Search_aFunction::execute(), Leq_idFunction::execute(), MessageFunction::execute(), SLIArrayModule::FiniteQ_dFunction::execute(), Leq_diFunction::execute(), SetVerbosityFunction::execute(), SLIArrayModule::Forall_ivFunction::execute(), VerbosityFunction::execute(), Leq_ddFunction::execute(), SLIArrayModule::Forall_dvFunction::execute(), RepeatanyFunction::execute(), SLIArrayModule::Iforall_ivFunction::execute(), Gt_iiFunction::execute(), SLIArrayModule::Iforall_dvFunction::execute(), Gt_ddFunction::execute(), DebugFunction::execute(), Gt_idFunction::execute(), Gt_diFunction::execute(), Gt_ssFunction::execute(), Lt_iiFunction::execute(), Lt_ddFunction::execute(), Lt_idFunction::execute(), Lt_diFunction::execute(), Lt_ssFunction::execute(), IntegerFunction::execute(), DoubleFunction::execute(), UnitStep_iFunction::execute(), UnitStep_dFunction::execute(), UnitStep_iaFunction::execute(), UnitStep_daFunction::execute(), Round_dFunction::execute(), Floor_dFunction::execute(), Ceil_dFunction::execute(), Max_i_iFunction::execute(), Max_i_dFunction::execute(), Max_d_iFunction::execute(), Max_d_dFunction::execute(), Min_i_iFunction::execute(), Min_i_dFunction::execute(), Min_d_iFunction::execute(), Min_d_dFunction::execute(), execute_(), execute_debug_(), raiseagain(), raiseerror(), and ~SLIInterpreter().

Name SLIInterpreter::ostack_name

Referenced by raiseerror().

SLIType SLIInterpreter::Ostreamtype
static

Referenced by inittypes(), and ~SLIInterpreter().

Parser* SLIInterpreter::parse
Name SLIInterpreter::pi_name

Referenced by initbuiltins().

Name SLIInterpreter::PositiveIntegerExpectedError
SLIType SLIInterpreter::Proceduretype
static

Referenced by inittypes(), and ~SLIInterpreter().

ProceduretypeFunction SLIInterpreter::proceduretypefunction
static

Referenced by inittypes().

Name SLIInterpreter::quitbyerror_name
Name SLIInterpreter::RangeCheckError
Name SLIInterpreter::recordstacks_name

Referenced by init_slicontrol(), and raiseerror().

bool SLIInterpreter::show_backtrace_
private

Show stack-backtrace on error.

Referenced by backtrace_off(), backtrace_on(), debug_commandline(), and show_backtrace().

bool SLIInterpreter::show_stack_
private

Show stack in debug mode.

Referenced by debug_commandline(), and toggle_stack_display().

Name SLIInterpreter::signo_name

Referenced by raisesignal().

Name SLIInterpreter::StackUnderflowError

Referenced by eq_execute(), TrieFunction::execute(), PopFunction::execute(), NpopFunction::execute(), AddtotrieFunction::execute(), SLIArrayModule::IMapFunction::execute(), SLIgraphics::ReadPGMFunction::execute(), DupFunction::execute(), SLIArrayModule::IMap_ivFunction::execute(), ExchFunction::execute(), SLIgraphics::WritePGMFunction::execute(), SLIArrayModule::IMap_dvFunction::execute(), DictbeginFunction::execute(), IndexFunction::execute(), TypeFunction::execute(), LoopFunction::execute(), RollFunction::execute(), SLIArrayModule::IMapThreadFunction::execute(), RolluFunction::execute(), RolldFunction::execute(), SLIArrayModule::IMapIndexedFunction::execute(), OverFunction::execute(), SLIArrayModule::ArraystoreFunction::execute(), nest::DynamicLoaderModule::UnloadModuleFunction::execute(), CopyFunction::execute(), RestoreestackFunction::execute(), RestoreostackFunction::execute(), SLIArrayModule::Put_a_a_tFunction::execute(), Mod_iiFunction::execute(), LookupFunction::execute(), SLIArrayModule::AreaFunction::execute(), SLIArrayModule::Area2Function::execute(), SLIArrayModule::Cv1dFunction::execute(), SLIArrayModule::Cv2dFunction::execute(), SLIArrayModule::GetMaxFunction::execute(), SLIArrayModule::GetMinFunction::execute(), SLIArrayModule::Array2IntVectorFunction::execute(), SLIArrayModule::Array2DoubleVectorFunction::execute(), SLIArrayModule::DoubleVector2ArrayFunction::execute(), SLIArrayModule::IntVector2ArrayFunction::execute(), SLIArrayModule::Add_iv_ivFunction::execute(), SLIArrayModule::Add_i_ivFunction::execute(), SLIArrayModule::Neg_ivFunction::execute(), SLIArrayModule::Sub_iv_ivFunction::execute(), SLIArrayModule::Mul_iv_ivFunction::execute(), Inv_dFunction::execute(), SLIArrayModule::Mul_i_ivFunction::execute(), SLIArrayModule::Mul_d_ivFunction::execute(), SLIArrayModule::Div_iv_ivFunction::execute(), SLIArrayModule::Add_dv_dvFunction::execute(), SLIArrayModule::Add_d_dvFunction::execute(), SLIArrayModule::Sub_dv_dvFunction::execute(), SLIArrayModule::Mul_dv_dvFunction::execute(), SLIArrayModule::Mul_d_dvFunction::execute(), SLIArrayModule::Div_dv_dvFunction::execute(), SLIArrayModule::Neg_dvFunction::execute(), SLIArrayModule::Inv_dvFunction::execute(), SLIArrayModule::Length_dvFunction::execute(), SLIArrayModule::Length_ivFunction::execute(), SLIArrayModule::Get_iv_iFunction::execute(), SLIArrayModule::Get_iv_ivFunction::execute(), SLIArrayModule::Get_dv_ivFunction::execute(), SLIArrayModule::Get_dv_iFunction::execute(), SLIArrayModule::Put_dv_i_dFunction::execute(), SLIArrayModule::Zeros_ivFunction::execute(), SLIArrayModule::Zeros_dvFunction::execute(), SLIArrayModule::Ones_dvFunction::execute(), SLIArrayModule::Ones_ivFunction::execute(), and DebugFunction::execute().

Dictionary* SLIInterpreter::statusdict
Name SLIInterpreter::stop_name
Name SLIInterpreter::StringStreamExpectedError
SLIType SLIInterpreter::Stringtype
static

Referenced by inittypes(), and ~SLIInterpreter().

SLIType SLIInterpreter::Symboltype
static
Name SLIInterpreter::systemdict_name

Referenced by initdictionaries().

Name SLIInterpreter::SystemSignal
SLIType SLIInterpreter::Trietype
static

Referenced by inittypes(), and ~SLIInterpreter().

TrietypeFunction SLIInterpreter::trietypefunction
static

Referenced by inittypes().

Name SLIInterpreter::true_name
Name SLIInterpreter::UndefinedNameError

Referenced by LoadFunction::execute().

Name SLIInterpreter::userdict_name

Referenced by initdictionaries().

int SLIInterpreter::verbositylevel
private

Referenced by message(), and verbosity().

Name SLIInterpreter::WriteProtectedError
SLIType SLIInterpreter::XIstreamtype
static
XIstreamtypeFunction SLIInterpreter::xistreamtypefunction
static

Referenced by inittypes().


The documentation for this class was generated from the following files: