diff options
Diffstat (limited to 'src/include/doer.h')
-rw-r--r-- | src/include/doer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/doer.h b/src/include/doer.h index 0b4337b..a59a81a 100644 --- a/src/include/doer.h +++ b/src/include/doer.h @@ -49,6 +49,8 @@ typedef struct BLINF { void doer_add_target(doer_t* doer, target_t* target); tree_t* doer_find_target_from_call(target_t* targetl, tree_t* call); +// Given a tree, evaluate it to a primitive type. +tree_t* doer_eval_prim(doer_t* doer); // Given a tree, evaluate it to a string (or type error). char* doer_eval_str(doer_t* doer); |