Re: tail calls

"Jack J. Woehr" <[email protected]> Mon, 30 Oct 2017 15:32:19 -0600
Newsgroups gmane.comp.gnu.m4.general
Message-ID <[email protected]>
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