Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-20-2008, 08:21 AM   #1
LQ Newbie
Registered: Nov 2008
Posts: 1

Rep: Reputation: 0
C++ code parsing

how can i use GCC front-end for my own C or C++ parser????

i want to parse C++ code using GCCXML but i get XML representation
only declarations of class, function, namespace.... and nothing else

can not i get whole C++ code XML representation, whole abstract syntax tree of the code structure??????????????????????? */

Last edited by armen_n; 11-25-2008 at 03:33 AM.
Old 11-24-2008, 01:55 PM   #2
Registered: Oct 2008
Posts: 100

Rep: Reputation: 15
Reading the FAQ (at is always a good start:

"Why are C++ function bodies not dumped in XML?
The original sponsors of the project had no need for function bodies. So far the authors have not had time or funding to implement the support. Contact the mailing list if you are interested in contributing this support or providing funding to have it implemented."

Last edited by Tinkster; 10-30-2010 at 06:09 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
small syntax problem with C code (implemented in Code Composer Studio) illiniguy3043 Programming 6 01-07-2008 03:14 AM
Parsing HTML Source Code Itsu Linux - General 4 10-08-2005 02:44 AM
User Preferences: Use HTML code instead of vB code? (vB code is overrated) stefanlasiewski LQ Suggestions & Feedback 5 07-26-2005 02:37 AM
PHP not parsing code... libertyboy Linux - Software 3 08-24-2004 12:09 PM
can't locate parsing code for .config file coolwind Linux - General 1 12-08-2002 09:24 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration