From 551e668e1b7a030fdff236067963100c7d8747a5 Mon Sep 17 00:00:00 2001 From: Charles Date: Wed, 1 Apr 2020 13:03:26 +0200 Subject: Added AST functions, tested eval with basic input --- include/ast.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/ast.h') diff --git a/include/ast.h b/include/ast.h index 4ee3396..63dc12c 100644 --- a/include/ast.h +++ b/include/ast.h @@ -6,6 +6,11 @@ ** \brief AST structs */ +# include +# include +# include "libft_mem.h" +# include "libft_util.h" + /** ** \brief Separator type ** \param SEP_END Regular command end `;` @@ -77,4 +82,7 @@ struct s_ast } data; }; +t_ast *ast_new(t_ast_tag tag, void *data); +void ast_destroy(t_ast *ast); + #endif -- cgit