From fece4fc3d4decb70c94b49ab854fa9ae93b4d887 Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Fri, 14 Aug 2026 14:51:01 -0400 Subject: pit: More VM-style evaluation --- pit/src/runtime.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pit/src/runtime.c') diff --git a/pit/src/runtime.c b/pit/src/runtime.c index bef7578..de0b2a2 100644 --- a/pit/src/runtime.c +++ b/pit/src/runtime.c @@ -18,7 +18,7 @@ enum pit_value_sort pit_value_sort(pit_value v) { } u64 pit_value_data(pit_value v) { - /* return v & 0b0000000000000001111111111111111111111111111111111111111111111111; */ + /* return v & 0b0000000000000001111111111111111111111111111111111111111111111111; */ return v & 0x1ffffffffffff; } @@ -53,6 +53,7 @@ pit_runtime *pit_runtime_new(u8 *buf, i64 len) { pit_symtab_set(ret, nil, PIT_NIL); pit_value truth = pit_symtab_intern_cstr(ret, "t"); pit_symtab_set(ret, truth, truth); + pit_compile_install_special_forms(ret); pit_runtime_freeze(ret); return ret; } -- cgit v1.3.1