473,503 Members | 12,003 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

is there any open source c/c++ parser available?

i wanna implement an c/c++ editor that could edit .h,.cpp file, if
there's an open source c/c++ parser, my job would be much eaiser,
thanks in advance :)

Apr 21 '06 #1
10 3991
a text editer?

Apr 21 '06 #2
c/c++ code editor. (with classview function etc.)
in order to organize the classview i have to analyze the .h,cpp file,
it's a complex task ,right? if there's any open source project could
achieve this , that would help a lot

Apr 21 '06 #3
thinktwice wrote:
c/c++ code editor. (with classview function etc.)
in order to organize the classview i have to analyze the .h,cpp file,
it's a complex task ,right? if there's any open source project could
achieve this , that would help a lot


Surely g++ is open source and has a C++ parser that I believe is
hand-crafted in a recursive descent manner. However, I have never
bothered to look into the (very complex) gcc source code before.

Regards,
Ben
Apr 21 '06 #4

thinktwice wrote:
i wanna implement an c/c++ editor that could edit .h,.cpp file, if
there's an open source c/c++ parser, my job would be much eaiser,
thanks in advance :)


Well, there are code editors that do this that are open source.
KDevelop does I think, as does XEmacs given the right lisp programs
(cc-mode, speedbar, eide...)

Apr 21 '06 #5
thinktwice wrote:
i wanna implement an c/c++ editor that could edit .h,.cpp file, if
there's an open source c/c++ parser, my job would be much eaiser,
thanks in advance :)

What ever happened to pc-lint? It was common about 15 years back. Did it
just get dropped?
Bill Baka
Apr 21 '06 #6
Lex & Yaac. Flex and Bison.

Apr 21 '06 #7
se*****************@gmail.com wrote:
Lex & Yaac. Flex and Bison.

Are these random musings, or a response to something?

--
Ian Collins.
Apr 21 '06 #8
http://www.antlr.org/

"thinktwice" <me*********@gmail.com> wrote in message
news:11**********************@t31g2000cwb.googlegr oups.com...
i wanna implement an c/c++ editor that could edit .h,.cpp file, if
there's an open source c/c++ parser, my job would be much eaiser,
thanks in advance :)

Apr 21 '06 #9

Kari Hallfast wrote:
http://www.antlr.org/


Antlr fits nicely with the likes of Yacc and Lex...parser _generators_.
OP asked for a parser because they are too lazy to write one (me too).
Pointing out several open source parser generators ain't what they
asked for so doing so without mentioning that they are not, in fact,
parsers seems rather rude to me.

Apr 21 '06 #10
In article <1145617945.412042.300520
@t31g2000cwb.googlegroups.com>,
se*****************@gmail.com says...
Lex & Yaac. Flex and Bison.


A C++ parser has a number of requirements that are quite
difficult to meet with these tools.

--
Later,
Jerry.

The universe is a figment of its own imagination.
Apr 22 '06 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2395
by: user mysql | last post by:
HELLO FRIENDS. HERE A FANTASTIC NEWS FOR MYSQL WINDOWS USER. READE THIS. The article is grab from www/internetnews/com/ DO YOU THINK THAT IS A GOOD NEWS ? ...
0
1682
by: Roberto Nunnari | last post by:
Hi all. I announce that there's a brand new XML parser in the Open Source arena: NunniMJAX - release 1.0 http://nunnimjax.nunnisoft.ch NunniMJAX is a Java, non validating XML parser. Its...
0
1415
by: Roberto Nunnari | last post by:
Hi all. I announce that there's a brand new XML parser in the Open Source arena: NunniMCAX - release 1.0 http://nunnimcax.nunnisoft.ch/en/ NunniMCAX is a C, non validating XML parser. Its...
0
1562
by: Roberto Nunnari | last post by:
Hi all. I announce that there's a brand new XML parser in the Open Source arena: NunniMCAX - release 1.0 http://nunnimcax.nunnisoft.ch/en/ NunniMCAX is a C, non validating XML parser. Its...
2
1882
by: karthik bala guru | last post by:
Hi, I would like to have a XHTML Generator and Parser in C language from the open source community. Someone Here, kindly give me a link or the name of the tool available in the opensource world....
8
9120
by: Asma | last post by:
Dear Sir, I am trying to find a way to open a Word document using C language and read the text of word doc into a variable. (Turbo C on Dos 6.0). Can anyone please tell me which libraries in...
3
10179
by: Dennis Myrén | last post by:
Hi. Are there any open source libraries available for parsing Microsoft Word Documents? Especially written in C# able to parse Word2003 documents. I doubt there is. Are there any...
0
1549
by: publicityfoss | last post by:
Apologizes for multiple copies eventually received Documents on Migrations to Open Source available by the COSPA Consortium The COSPA consortium (Consortium for studying, evaluating, and...
158
6281
by: Giovanni Bajo | last post by:
Hello, I just read this mail by Brett Cannon: http://mail.python.org/pipermail/python-dev/2006-October/069139.html where the "PSF infrastracture committee", after weeks of evaluation, recommends...
0
7193
marktang
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,...
0
7316
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7449
tracyyun
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...
0
5562
agi2029
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,...
1
4992
isladogs
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...
0
4666
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3160
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3148
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1495
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.