ztsdb
Classes | Namespaces | Functions
interp.hpp File Reference
#include <string>
#include <stdexcept>
#include "ast.hpp"
#include "valuevar.hpp"
#include "env.hpp"

Go to the source code of this file.

Classes

struct  interp::Kont
 

Namespaces

 interp
 Struct and functions implementing the interpreter.
 

Functions

shared_ptr< Kontinterp::step (shared_ptr< Kont > &k, vector< shpfrm > &frameStack, zcore::InterpCtx &ic)
 
shared_ptr< Kontinterp::buildElChain (const ElNode *eln, unsigned n, shared_ptr< BaseFrame > r, shared_ptr< Kont > &k)
 

Detailed Description

Defines 'Kont', the fundamental structure on which the interpreter is built, and 'step', the function that invokes the interpreter.