From 8103cadfc95fb76539bfccc893a2101ccb89ea90 Mon Sep 17 00:00:00 2001 From: Dominik Kaiser Date: Fri, 28 Jun 2024 15:09:32 +0200 Subject: Add data structures for tokenizing and parsing * Add data structures and helper functions for ast * Add data structures for tokenizing * Add helper functions for token structures * Include token.h in minishell.h * Add new/free functions for nodes/tokens to Makefile * Add UNREACHABLE macro to debug_tools.h--- include/ast.h | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 include/ast.h (limited to 'include/ast.h') diff --git a/include/ast.h b/include/ast.h new file mode 100644 index 0000000..e6ad25d --- /dev/null +++ b/include/ast.h @@ -0,0 +1,79 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ast.h :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: dkaiser