Unit tests (42): arithmetic, comparison, booleans, predicates, pairs/lists, and/or — each verifies expected output. Integration tests (18): special forms, bindings, named-let, recursion, higher-order, closures. Functional tests (15): fib(35), ack(3,4), TCO 100k depth, list processing, mutual recursion, closure state, display. make test-all now runs: Python 571 + C 76 + asm 75 + functional 114. All pass.
13 lines
227 B
Makefile
13 lines
227 B
Makefile
all: uncommonlisp
|
|
|
|
uncommonlisp: uncommonlisp.s
|
|
as --64 -o uncommonlisp.o uncommonlisp.s
|
|
ld -o uncommonlisp uncommonlisp.o
|
|
|
|
test: uncommonlisp
|
|
@bash test.sh
|
|
|
|
clean:
|
|
rm -f uncommonlisp.o uncommonlisp
|
|
|
|
.PHONY: all test clean
|