diff options
author | kartofen <mladenovnasko0@gmail.com> | 2024-01-02 16:06:45 +0200 |
---|---|---|
committer | kartofen <mladenovnasko0@gmail.com> | 2024-01-02 16:06:45 +0200 |
commit | c837b2bb4ea71cedb434260b11c9f356e8b34e2d (patch) | |
tree | d8d0b5bc5e6831b75e0d71395326e0e206c1bf43 /src/eval.h | |
parent | 536f787c627e3a2b245e529345b948dc4631817f (diff) |
things
Diffstat (limited to 'src/eval.h')
-rw-r--r-- | src/eval.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -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 |