hi
I am looking for a simple C++ parser.
the parser that only can give me little information about C++ code.
Like.
Function name, returns, hasparameters, modifier.
similarly for classes
class name, has public,private, protected functions,
has bublic,private and protected functiions
and thats it, is there any simple parser that can do that and i dont
have to look deep into it
thank you 4 2951
Am Thu, 04 Aug 2005 07:35:28 -0700 schrieb humpty: hi I am looking for a simple C++ parser. the parser that only can give me little information about C++ code.
Try doxygen. It works well, even if the code contains no doxygen comment.
Stefan Klemm wrote: Am Thu, 04 Aug 2005 07:35:28 -0700 schrieb humpty:
hi I am looking for a simple C++ parser. the parser that only can give me little information about C++ code.
Try doxygen. It works well, even if the code contains no doxygen comment.
A configurable C++ parser-only would be a nice thing. For example, one
could use it to "grep" for old-style casts, something that cannot be
done with regular expressions. Other uses come to mind as well.
/David
"David Rasmussen" <da*************@gmx.net> wrote in message
news:42*********************@dtext02.news.tele.dk. .. Stefan Klemm wrote: Am Thu, 04 Aug 2005 07:35:28 -0700 schrieb humpty:
hi I am looking for a simple C++ parser. the parser that only can give me little information about C++ code.
A configurable C++ parser-only would be a nice thing. For example, one could use it to "grep" for old-style casts, something that cannot be done with regular expressions. Other uses come to mind as well.
You can't do that with a "simple" C++ parser. You need
a full C++ parser so the very details you want to find
are captured correctly.
See http://www.semdesigns.com/Products/F...pFrontEnd.html
--
Ira D. Baxter, Ph.D., CTO 512-250-1018
Semantic Designs, Inc. www.semdesigns.com
Ira Baxter wrote: You can't do that with a "simple" C++ parser.
Depends on the relative term "simple", doesn't it?
You need a full C++ parser so the very details you want to find are captured correctly.
True, but this is still much simpler than a full compiler with various
intermediate representations for optimization etc. and one or more
backends for various targets.
See http://www.semdesigns.com/Products/F...pFrontEnd.html
I would like an open souce alternative.
/David This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Gerrit Holl |
last post by:
Posted with permission from the author.
I have some comments on this PEP, see the (coming) followup to this message.
PEP: 321
Title: Date/Time Parsing and Formatting
Version: $Revision: 1.3 $...
|
by: David Svoboda |
last post by:
I have a server program that takes commands and acts on them. The
server program can also take these commands from an input file or
standard input (mainly for testing purposes). As such, I often...
|
by: ankitdesai |
last post by:
I would like to parse a couple of tables within an individual player's
SHTML page. For example, I would like to get the "Actual Pitching
Statistics" and the "Translated Pitching Statistics"...
|
by: toton |
last post by:
Hi,
I have some ascii files, which are having some formatted text. I want
to read some section only from the total file.
For that what I am doing is indexing the sections (denoted by .START
in...
|
by: Chris Carlen |
last post by:
Hi:
Having completed enough serial driver code for a TMS320F2812
microcontroller to talk to a terminal, I am now trying different
approaches to command interpretation.
I have a very simple...
|
by: charliefortune |
last post by:
I am fetching some product feeds with PHP like this
$merch = substr($key,1);
$feed = file_get_contents($_POST);
$fp = fopen("./feeds/feed".$merch.".txt","w+");
fwrite ($fp,$feed);
fclose...
|
by: Daniel Fetchinson |
last post by:
Many times a more user friendly date format is convenient than the
pure date and time.
For example for a date that is yesterday I would like to see
"yesterday" instead of the date itself. And for...
|
by: nicky123 |
last post by:
Hi everyone,
This is a brief description that I have provided for parsing & displaying an XML document using DOM API. Please feel free to post your own comments & views regarding...
|
by: hd95 |
last post by:
In a perfect world my xml feed source would produce perfect xml ..that is not the case
I am parsing an XML feed that sometimes has ampersands and dashes in the content that messes up my parsing. ...
|
by: eyeore |
last post by:
Hello everyone my String reverse code works but my professor wants me to use pop top push or Stack code and parsing code could you please teach me how to make this code work with pop top push or...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |