diff options
-rw-r--r-- | src/.DS_Store | bin | 0 -> 6148 bytes | |||
-rw-r--r-- | src/include/tree.h | 25 |
2 files changed, 25 insertions, 0 deletions
diff --git a/src/.DS_Store b/src/.DS_Store Binary files differnew file mode 100644 index 0000000..facbb32 --- /dev/null +++ b/src/.DS_Store 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 <stdlib.h> + +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 |