mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-05 22:38:44 +00:00
Tail-call optimization
This commit is contained in:
parent
eeab48ed33
commit
b1d851ff40
4 changed files with 137 additions and 94 deletions
|
|
@ -9,7 +9,7 @@ check: $(TESTS)
|
|||
$(TESTS): %: %.lama
|
||||
@echo $@
|
||||
cat $@.input | LAMA=../runtime $(LAMAC) -i $< > $@.log && diff $@.log orig/$@.log
|
||||
cat $@.input | LAMA=../runtime $(LAMAC) -s $< > $@.log && diff $@.log orig/$@.log
|
||||
cat $@.input | LAMA=../runtime $(LAMAC) -ds -s $< > $@.log && diff $@.log orig/$@.log
|
||||
LAMA=../runtime $(LAMAC) $< && cat $@.input | ./$@ > $@.log && diff $@.log orig/$@.log
|
||||
|
||||
clean:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue