From: Guy Montag <theguymontag@yahoo.com>
To: gcc-help@gcc.gnu.org
Subject: Accesssing the Abstract Syntax Tree
Date: Tue, 17 Sep 2002 12:34:00 -0000 [thread overview]
Message-ID: <20020917193417.23268.qmail@web13006.mail.yahoo.com> (raw)
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
reply other threads:[~2002-09-17 19:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020917193417.23268.qmail@web13006.mail.yahoo.com \
--to=theguymontag@yahoo.com \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).