Add a new implementation struct with only one function.

This commit is contained in:
2018-04-24 16:59:53 -07:00
parent 14e9ddea23
commit 0a24fff344
5 changed files with 32 additions and 3 deletions

View File

@@ -3,15 +3,18 @@
#include "table.h"
#include "tree.h"
#include "impl.h"
struct libab_interpreter_s {
libab_ref base_table;
libab_impl* impl;
};
typedef struct libab_interpreter_s libab_interpreter;
void libab_interpreter_init(libab_interpreter* intr,
libab_ref* table);
libab_ref* table,
libab_impl* impl);
libab_result libab_interpreter_run(libab_interpreter* intr,
libab_tree* tree, libab_ref* into);
void libab_interpreter_free(libab_interpreter* intr);