4 ms·
I'm working on a lisp interpreter right now, so this should be useful for reference. One question, how would I go about implementing tail call recursion? I's a
by neilparikh 12y ago
I'm working on a lisp interpreter right now, so this should be useful for reference.
One question, how would I go about implementing tail call recursion? I's assume that's a pretty important thing to have in lisp (or any functional language for that matter). I'm working in ruby, if that matters.
- mlni 12y agoI assume you already saw this by now: https://github.com/kanaka/mal/blob/master/process/guide.md#step-5-tail-call-optimization https://github.com/kanaka/mal/blob/master/process/guide.md#s...
- neilparikh 12y agoI did not, thanks for the link!