blob: 78ede9526b6dd7e584bd87a7648c04bb600ccf1d (
plain) (
tree)
|
|
#ifndef EVAL_H
#define EVAL_H
#include "model.h"
/** @class Evaluator
* A runtime platform of interpreting
*/
class Evaluator {
private:
Environment *envt; /**< Store the current environment */
void add_builtin_routines(); /**< Add builtin routines to the env */
public:
Evaluator();
EvalObj *run_expr(Cons *prog); /**< Interpret a program */
};
#endif
|