1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#ifndef EVAL_H #define EVAL_H #include "ast.h" typedef struct eval *eval_t; // RunTime Tree struct rtt { }; struct eval { struct rtt *root; }; // TODO: add options for the evaluation eval_t evaluator_create(); void evaluator_destroy(eval_t evaluator); int evaluator_eval_ast(eval_t evaluator, ast_t ast) #endif