From 56d409f7df528511e96fada2bc8fea79f581c7df Mon Sep 17 00:00:00 2001 From: c+1 Date: Thu, 4 May 2023 13:09:48 -0400 Subject: halk? :( --- src/.DS_Store | Bin 0 -> 6148 bytes src/include/tree.h | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 src/.DS_Store create mode 100644 src/include/tree.h (limited to 'src') diff --git a/src/.DS_Store b/src/.DS_Store new file mode 100644 index 0000000..facbb32 Binary files /dev/null and b/src/.DS_Store differ diff --git a/src/include/tree.h b/src/include/tree.h new file mode 100644 index 0000000..816243c --- /dev/null +++ b/src/include/tree.h @@ -0,0 +1,25 @@ +#ifndef TREE_H +#define TREE_H + +#include + +typedef struct TREE_STRUC { + enum { + TREE_VAR_DEF, + //TREE_FUN_DEF, + TREE_VAR, + //TREE_FUN_CALL, + //TREE_STR, + //TREE_COMP + } type; + + char* VAR_DEF_name; + struct TREE_STRUC* VAR_DEF_value; + + char* VAR_name; + +} TREE_t; + +TREE_t tree_init(int type); + +#endif -- cgit v1.2.3