diff options
author | Preston Pan <preston@nullring.xyz> | 2023-01-05 12:11:33 -0800 |
---|---|---|
committer | Preston Pan <preston@nullring.xyz> | 2023-01-05 12:11:33 -0800 |
commit | 346507f767d71c69e55b9f663449eb39e1bc7e54 (patch) | |
tree | 5b05f645d4dab681a64efb5ce8801c6442cdd624 /src/include | |
parent | c090ab2336d4f2f8536ca47a17f3e689299ea45e (diff) |
lists evaluate for non built-in functions
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ast.h | 2 | ||||
-rw-r--r-- | src/include/stack.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/include/ast.h b/src/include/ast.h index a5095e1..c99564d 100644 --- a/src/include/ast.h +++ b/src/include/ast.h @@ -50,4 +50,6 @@ ast_t *init_ast_symbol(char *value); ast_t *init_ast_function(ast_t *car, ast_t *cdr); ast_t *init_ast_root(ast_t **subnodes, int size); + +void ast_type_print(ast_t *e); #endif diff --git a/src/include/stack.h b/src/include/stack.h index e8047c8..5a58f0b 100644 --- a/src/include/stack.h +++ b/src/include/stack.h @@ -6,7 +6,7 @@ typedef struct { int cur; } stack_t; -stack_t *init_stack(int ht_size); +stack_t *init_stack(); void stack_push(stack_t *s, hash_table_t *h); |