help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: What is the best way to navigate #ifdef and #endif in C program


From: Arzobispo Andante
Subject: Re: What is the best way to navigate #ifdef and #endif in C program
Date: Wed, 08 Dec 2010 15:22:52 -0000
User-agent: MacSOUP/2.8.2 (Mac OS X version 10.5.8 (PPC))

Elena <egarrulo@gmail.com> wrote:

> Can macros really add features or can they just add syntactic sugar? A
> custom "case" statement is just syntactic sugar, tail call
> optimization is a feature.

I can see no reason why a macro could not transform tail-recursive code
into iterative code. That would basically achieve the same observable
effect of TCO, i.e. getting rid of stack growth.

-- 
AA


reply via email to

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