aboutsummaryrefslogtreecommitdiff
path: root/eval.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2013-08-03 23:09:59 +0800
committerTeddy <ted.sybil@gmail.com>2013-08-03 23:09:59 +0800
commitc66dc142d240ec2e2ae78201d9614de76535be38 (patch)
treec9df286951328d7a477415946e8000beef6843ad /eval.h
parente462669c3c3cc04ea29420e14dbb589899d201ec (diff)
C++ version now works!
Diffstat (limited to 'eval.h')
-rw-r--r--eval.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/eval.h b/eval.h
new file mode 100644
index 0000000..0ec08f3
--- /dev/null
+++ b/eval.h
@@ -0,0 +1,14 @@
+#ifndef EVAL_H
+#define EVAL_H
+#include "model.h"
+
+class Evaluator {
+ private:
+ Environment *envt;
+ void add_builtin_routines();
+ public:
+ Evaluator();
+ EvalObj *run_expr(Cons *prog);
+};
+
+#endif