aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorc+12023-05-04 13:09:48 -0400
committerc+12023-05-04 13:09:48 -0400
commit56d409f7df528511e96fada2bc8fea79f581c7df (patch)
tree821296a9e0a88d54e76fa2a7623079bd011872f5 /src
parent48f6a2e757ffa49f4a5676e29f5fff935660b6a1 (diff)
halk? :(
Diffstat (limited to 'src')
-rw-r--r--src/.DS_Storebin0 -> 6148 bytes
-rw-r--r--src/include/tree.h25
2 files changed, 25 insertions, 0 deletions
diff --git a/src/.DS_Store b/src/.DS_Store
new file mode 100644
index 0000000..facbb32
--- /dev/null
+++ b/src/.DS_Store
Binary files 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 <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