in reply to parser creating

Why can't you use an existing parser like doxygen?

c comments
File::Comments::Plugin::C - Plugin to detect comments in C/C++ source code
String::Comments::Extract - Extract comments from
Regexp::Common::comment -- provide regexes for comments.C/C++/JavaScript/Java source

Replies are listed 'Best First'.
Re^2: parser creating
by veerubiji (Sexton) on Sep 23, 2011 at 07:42 UTC
    Hi, Frist of all thank you very much for reply.I tried to use doxygen but in doxygen the entire code is parsing, but i need to parse only xml comments from source code. you know my source code is a combination of xml and c code. can you help me. regrads, veerubiji.

      Hi, Frist of all thank you very much for reply.I tried to use doxygen but in doxygen the entire code is parsing, but i need to parse only xml comments from source code. you know my source code is a combination of xml and c code. can you help me. regrads, veerubiji.

      Help you with what? using one of the modules I linked?

      Maybe if you posted your attempt at using them as per How do I post a question effectively?

        sorry for late reply, i created such parser in perl and i extracted from my code . thank you very much for helping.