lumbda/asm
russell@unturf.com 22571fa470 Fix MOAD-0001 defects across all implementations
asm/uncommonlisp.s — intern_symbol: replaced O(N) linear scan with
djb2 hash table (1024 buckets, chaining). 2.9x faster symbol interning
on programs with many symbols. 75 tests pass.

uncommonlisp.py — _define_record_type: replaced list.index() O(N)
with dict lookup O(1) for field→index mapping. 571 tests pass.

MOAD-0002 documented: _portal_checkpoint, _call_stack, _auto_compile
are intentional globals (hot loop performance). cc_escape_val/cc_active_jmp
are required by setjmp/longjmp call/cc approach. Comments added.

All 836 assertions pass across Python + C + Assembly + functional.
2026-04-15 14:29:58 -04:00
..
Makefile Add asm test suite: 75 tests (unit + integration + functional) 2026-04-15 13:44:36 -04:00
test.sh Add asm test suite: 75 tests (unit + integration + functional) 2026-04-15 13:44:36 -04:00
uncommonlisp Add pure x86_64 assembly Scheme interpreter: 2592 lines, 13KB binary 2026-04-15 12:18:39 -04:00
uncommonlisp.o Add pure x86_64 assembly Scheme interpreter: 2592 lines, 13KB binary 2026-04-15 12:18:39 -04:00
uncommonlisp.s Fix MOAD-0001 defects across all implementations 2026-04-15 14:29:58 -04:00