diff options
| author | LLLL Colonq <llll@colonq> | 2026-08-14 14:51:01 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2026-08-14 14:51:01 -0400 |
| commit | fece4fc3d4decb70c94b49ab854fa9ae93b4d887 (patch) | |
| tree | 71e355aaae2381078d0a403f89abfc6e6d7343f6 /pit/src/runtime.c | |
| parent | 7b9c4a3ac265026d98624ac614eead866a190042 (diff) | |
pit: More VM-style evaluation
Diffstat (limited to 'pit/src/runtime.c')
| -rw-r--r-- | pit/src/runtime.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |
