diff options
author | c+1 | 2023-05-04 13:09:48 -0400 |
---|---|---|
committer | c+1 | 2023-05-04 13:09:48 -0400 |
commit | 56d409f7df528511e96fada2bc8fea79f581c7df (patch) | |
tree | 821296a9e0a88d54e76fa2a7623079bd011872f5 | |
parent | 48f6a2e757ffa49f4a5676e29f5fff935660b6a1 (diff) |
halk? :(
-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 |