From c837b2bb4ea71cedb434260b11c9f356e8b34e2d Mon Sep 17 00:00:00 2001 From: kartofen Date: Tue, 2 Jan 2024 16:06:45 +0200 Subject: things --- src/eval.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/eval.h') 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 -- cgit v1.2.3