News for hackers. Stuff that matters.
Re:Lisp.py by capableweb on Wednesday July 20, 2022 @10:47AM (#32166502)
One focuses on the learning aspects rather than creating a production lisp. If you want a production lisp, there are plenty out there.

And regardless, adding TCO is relatively simple as well, so not exactly a hard problem to figure out after you've written the first version of your toy lisp.

Re:Lisp.py by busterarm on Wednesday July 20, 2022 @10:51AM (#32166563)
We're talking about Lisp in Python here. Python itself famously[1,2] refuses to have TCO.

1: http://neopythonic.blogspot.com/2009/04/tail-recursion-elimi... 2: http://neopythonic.blogspot.com/2009/04/final-words-on-tail-...

Re:Lisp.py by capableweb on Wednesday July 20, 2022 @10:54AM (#32166616)
Re:Lisp.py by Xophmeister on Wednesday July 20, 2022 @05:05PM (#32172318)
You can implement TCO in Python manually with continuation-passing style and trampolines.