AST capture in gcc

gs@cetic.be (Gregory Seront)
14 Sep 2004 16:37:12 -0400

          From comp.compilers

Related articles
AST capture in gcc gs@cetic.be (2004-09-14)
Re: AST capture in gcc kharmon@optonline.net (George Huber) (2004-09-21)
Re: AST capture in gcc s.bosscher@student.tudelft.nl (2004-09-21)
Re: AST capture in gcc joanpujol@gmail.com (Joan Pujol) (2004-09-21)
| List of all articles for this month |
From: gs@cetic.be (Gregory Seront)
Newsgroups: comp.compilers
Date: 14 Sep 2004 16:37:12 -0400
Organization: http://groups.google.com
Keywords: GCC, question
Posted-Date: 14 Sep 2004 16:37:12 EDT

Hello,


I need to capture an intermediate representation for C++ in order to
take measurements on the code.
I was thinking of hacking gcc in order to capture the abstract
synthatic tree (AST) it is building.
So I was asking myself:


1) do gcc produce an AST?
2) can I capture it?




thanks in advance for your replies,


Gregory Seront


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.