diff options
author | c | 2024-04-13 10:47:01 -0400 |
---|---|---|
committer | c | 2024-04-13 10:47:01 -0400 |
commit | 9bb6fa51e9a621b04119d76801453e123d2cc099 (patch) | |
tree | 3d28ec04a9bf83c5c851a6f4f4944c5cd3b7b4d7 /src/include/doer.h | |
parent | 68473db6798bc80aab7b39105ba88865015eb27c (diff) |
Many things.
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); |