blob: c0e03e1239dd9cf17c01dc4e0297e5a752dfda26 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef EVAL_H
#define EVAL_H
#include "model.h"
#include "types.h"
/** @class Evaluator
* A realtime interpreting platform
*/
class Evaluator {
private:
Environment *envt; /**< Store the current environment */
void add_builtin_routines(); /**< Add builtin routines to the env */
public:
Evaluator();
EvalObj *run_expr(Pair *prog); /**< Interpret a program */
};
#endif
|