Sujet : Re: Writing HG LISP in Python, kind of
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.lispDate : 13. Apr 2025, 01:15:32
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vtevn3$1k3qh$4@dont-email.me>
References : 1
User-Agent : Pan/0.162 (Pokrosvk)
On 12 Apr 2025 14:04:02 GMT, Stefan Ram wrote:
From my recent postings in other newsgroups: The precending
generator rewritten in Python in a style that tries to imitate LISP
with the means of Python.
Yeah, but Python doesn’t optimize tail recursion, as far as I know. In
fact, it has a fixed (albeit user-configurable) limit on function-call
recursion depth. So you’re likely to hit this sooner or later (probably
sooner) if you’re not careful.