diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/include/doer.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/include/doer.h b/src/include/doer.h new file mode 100644 index 0000000..f349749 --- /dev/null +++ b/src/include/doer.h @@ -0,0 +1,27 @@ +#ifndef DOER_H +#define DOER_H + +#include "util.h" +#include "tree.h" + +/* Doer? I 'ardly know 'er! */ +typedef struct DOER { + tree_t* tree; +} doer_t; + +doer_t* doer_init(tree_t* tree); +void doer_destroy(doer_t* doer); + +void doer_do_blin_print(char* s); + +tree_t* doer_do_block(doer_t* doer); +tree_t* doer_do_expr(doer_t* doer); +tree_t* doer_do_lint(doer_t* doer); +tree_t* doer_do_lstr(doer_t* doer); +tree_t* doer_do_tag(doer_t* doer); +tree_t* doer_do_darg(doer_t* doer); +tree_t* doer_do_carg(doer_t* doer); +tree_t* doer_do_def(doer_t* doer); +tree_t* doer_do_call(doer_t* doer); + +#endif |