public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Accesssing the Abstract Syntax Tree
@ 2002-09-17 12:34 Guy Montag
  0 siblings, 0 replies; only message in thread
From: Guy Montag @ 2002-09-17 12:34 UTC (permalink / raw)
  To: gcc-help

If I wanted to compile source and obtain a complete
AST directly, how would one go about that? Any
recommendations on approach would be greatly
appreciated!

I am trying to build a code explorer that utilizes the
tree.

I have a pretty good knowledge of the compilation
process, and how yyparse() calls rest_of_compilation()
for each function. I get lost in all the different
variables, options, functions, and so on, and cannot
determine at what point to pull out a tree that would
be representative of the code, and even compilable
itself, by calling rest_of_compilation directly.

THANK YOU!

Sincerely,
-Guy

__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-09-17 19:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-17 12:34 Accesssing the Abstract Syntax Tree Guy Montag

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).