This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: AST-Optimizer and De-Parse


Thanks Diago,
I remember you telling me about the deparser,
Just wanted to know if it is ready to be tested.
This is a good test because we have nothing to loose,
and only to gain!

> You don't really need the unparser in the AST
> branch, you could achieve
> the same with GNU indent.
Yes, I have heard, cpp the comments and macros out
into a branch for debian and then indent. 
We can be safly interested in the code for the GNU
projects and dont need to macros for every compiler. I
mean it can also be made non-ansi again later :).

> 
> But, sure, the unparser in the AST branch could
> pretty print this.  
Great, I would like to try it out.

>The
> one caveat with it, is that currently we do not
> guarantee that you'll
> get compilable code.  
Right not it is not readable code!

> It's mainly for debugging
> purposes.  Check
> c-pretty-print.c in the AST branch.

It might turn out to be interesting....
I will be trying that out soon, keep you posted...

Thanks,
mike

=====
James Michael DuPont

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]