[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tail calls

From: Jack J. Woehr
Subject: Re: tail calls
Date: Mon, 30 Oct 2017 15:32:19 -0600
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

On 10/30/2017 2:22 PM, Doug McIlroy wrote:
Does anyone know offhand whether m4 optimizes tail calls (i.e. discards the calling
stack frame)?

Two thoughts:
  • The original authors were very hip to recursion, they were into Prolog.
  • I'll bet you reading the source code would answer your question :)
Jack J. Woehr     # Science is more than a body of knowledge. It's a way of
www.well.com/~jax # thinking, a way of skeptically interrogating the universe
www.softwoehr.com # with a fine understanding of human fallibility. - Carl Sagan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]