diff options
Diffstat (limited to 'src/eval.h')
-rw-r--r-- | src/eval.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/eval.h b/src/eval.h new file mode 100644 index 0000000..01ed827 --- /dev/null +++ b/src/eval.h @@ -0,0 +1,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 |