string: new string library

Strings are simply byte vectors.  We want a separate type so when
tagging/untagging we can have some level of type separation.
This commit is contained in:
2026-03-05 19:44:27 +00:00
parent b93042fd27
commit bbb66d5fb1
3 changed files with 81 additions and 2 deletions

View File

@@ -19,8 +19,8 @@ CFLAGS=$(GFLAGS) $(DFLAGS) -DVERBOSE_LOGS=2 -DTEST_VERBOSE=1
endif
# Units to compile
UNITS=src/sv.c src/vec.c src/stream.c src/symtable.c src/lisp.c src/allocator.c \
src/sys.c src/reader.c
UNITS=src/sv.c src/vec.c src/string.c src/stream.c src/symtable.c src/lisp.c \
src/allocator.c src/sys.c src/reader.c
OBJECTS:=$(patsubst src/%.c, $(DIST)/%.o, $(UNITS))
TEST_UNITS=test/main.c