add hashmap to scope and identifier loading at runtime

This commit is contained in:
2025-07-12 03:33:59 +01:00
parent fe7eaa8de3
commit c0eb9e3a04
18 changed files with 141 additions and 35 deletions

View File

@@ -3,6 +3,7 @@
#include <gmp.h>
#include "runtime/internals/dynamic_array_armem/darray_armem.h"
#include "runtime/internals/hashmap/hashmap.h"
typedef struct ArgonObject ArgonObject; // forward declaration
@@ -22,7 +23,7 @@ struct string_struct {
};
typedef struct Stack {
ArgonObject *scope;
struct hashmap_GC *scope;
struct Stack *prev;
} Stack;