diff options
author | thing1 <thing1@seacrossedlovers.xyz> | 2024-07-04 13:11:04 +0100 |
---|---|---|
committer | thing1 <thing1@seacrossedlovers.xyz> | 2024-07-04 13:11:04 +0100 |
commit | 3dad2f4c5ce7fd44015cbd921318b3512c36326e (patch) | |
tree | e43f3b1d0080e9de96c2866743e521ecbd2770f5 /comp/lucas-standen-NEA/code/execution/exec.c | |
parent | 478eed4ef9ece1b86b2fed7bfe57d62180b12c92 (diff) |
zippy supports arrays!
Diffstat (limited to 'comp/lucas-standen-NEA/code/execution/exec.c')
-rw-r--r-- | comp/lucas-standen-NEA/code/execution/exec.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/comp/lucas-standen-NEA/code/execution/exec.c b/comp/lucas-standen-NEA/code/execution/exec.c index adb6f25..8775526 100644 --- a/comp/lucas-standen-NEA/code/execution/exec.c +++ b/comp/lucas-standen-NEA/code/execution/exec.c @@ -2,17 +2,15 @@ #include <stdlib.h> #include "./builtin.h" - #include "../global/util.h" - #include "../tokenizer/tokenizer.h" int main(){ - char *sample = "(exit (+ 1 1))"; + char *sample = "(write ['h','e','l','l','o','\n'])"; ast_node *root = tokenize(sample); doCall(root); - CheckedFreeALL(); - + free(root); + return 0; } |