aboutsummaryrefslogtreecommitdiff
path: root/src/eval.h
blob: f7f9835a6792c51de5d07b84a22997dccdfead38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef EVAL_H
#define EVAL_H

#include "parser.h"

typedef struct eval *evaluator_t;

struct eval {
};

// 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);

#endif