aboutsummaryrefslogtreecommitdiff
path: root/eval.h
diff options
context:
space:
mode:
Diffstat (limited to 'eval.h')
-rw-r--r--eval.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/eval.h b/eval.h
index 0ec08f3..78ede95 100644
--- a/eval.h
+++ b/eval.h
@@ -2,13 +2,16 @@
#define EVAL_H
#include "model.h"
+/** @class Evaluator
+ * A runtime platform of interpreting
+ */
class Evaluator {
private:
- Environment *envt;
- void add_builtin_routines();
+ Environment *envt; /**< Store the current environment */
+ void add_builtin_routines(); /**< Add builtin routines to the env */
public:
Evaluator();
- EvalObj *run_expr(Cons *prog);
+ EvalObj *run_expr(Cons *prog); /**< Interpret a program */
};
#endif