aboutsummaryrefslogtreecommitdiff
path: root/src/eval.h
diff options
context:
space:
mode:
authorkartofen <mladenovnasko0@gmail.com>2024-01-02 16:06:45 +0200
committerkartofen <mladenovnasko0@gmail.com>2024-01-02 16:06:45 +0200
commitc837b2bb4ea71cedb434260b11c9f356e8b34e2d (patch)
treed8d0b5bc5e6831b75e0d71395326e0e206c1bf43 /src/eval.h
parent536f787c627e3a2b245e529345b948dc4631817f (diff)
things
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