aboutsummaryrefslogtreecommitdiff
path: root/src/eval.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval.h')
-rw-r--r--src/eval.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/eval.h b/src/eval.h
index f7f9835..fc7b8ad 100644
--- a/src/eval.h
+++ b/src/eval.h
@@ -3,14 +3,16 @@
#include "parser.h"
-typedef struct eval *evaluator_t;
+typedef struct eval *eval_t;
struct eval {
+ // symtbl_t root;
+ // symtbl_t *cur;
};
// TODO: add options for the evaluation
-evaluator_t eval_create();
-void eval_destroy(evaluator_t evaluator);
-int eval_ast(evaluator_t evaluator, parser_t ast);
+eval_t eval_create();
+void eval_destroy(eval_t eval);
+int eval_ast(eval_t eval, parser_t ast);
#endif