More progress on assembler and evaluator

This commit is contained in:
2025-08-03 00:27:52 +02:00
parent 234087422f
commit 51ea776e55
7 changed files with 814 additions and 118 deletions
+4
View File
@@ -8,6 +8,7 @@ typedef enum {
NODE_FUNC_DECL,
NODE_FUNC_ARG,
NODE_FUNC_CALL,
NODE_VAR_DECL,
NODE_BLOCK,
NODE_IFELSE,
NODE_FOR,
@@ -65,6 +66,9 @@ struct Node {
String func_name;
Node *func_args;
Node *func_body;
String var_name;
Node *var_value;
};
typedef struct {