Still got some failures, but a basic stream implementation

Need to fix what's going on with the example in main.c using stdin.
This commit is contained in:
2025-08-28 22:55:41 +01:00
parent 66c6400731
commit cc56a2ee2b
5 changed files with 373 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ char *sym_table_find(sym_table_t *table, sv_t sv)
if (table->entries.capacity == 0)
sym_table_init(table);
// WIP: Deal with resizing this when table->count > table->size / 2
// TODO: Deal with resizing this when table->count > table->size / 2
u64 index = djb2(sv) & (table->capacity - 1);
for (sv_t comp = VEC_GET(&table->entries, sv_t)[index]; comp.data; index += 1,