1.2 CDT parser [message #81246] |
Fri, 26 September 2003 15:07  |
Eclipse User |
|
|
|
I am trying to find out information about the default language parser in
CDT 1.2. What version of C/C++ does it parse ? From what I have learned,
it appears that is designed to parse a standard version of C/C++, rather
than a specific version of, say a gcc compiler. Correct ? Is there any
information available which documents the syntax being parsed ?
I am interested in this information because I am attempting to discern
what is involved in adding parser support for a particular C/C++ language
dialect. My sense is that I would start with the existing parser and
extend it to recognize any specific language extensions. The first step
involved in this approach is to determine what the current CDT parser
supports and then to determine how the C/C++ language to be supported
differs from the default C/C++ language supported.
Or is it the case that the parser is fairly rudimentary, supporting only
the language "core", and thus effectively supports all C/C++ variants ?
Any insights appreciated.
Bob Monteleone
|
|
|
|
Re: 1.2 CDT parser [message #81365 is a reply to message #81350] |
Mon, 29 September 2003 10:48  |
Eclipse User |
|
|
|
Originally posted by: dschaefe.ca.ibm.com
This is definitely an area we want to address in CDT 2.0. If you have any
comments, please feel free to send them. This is actually a discussion that
better suited to the mailing list where more developers are lurking.
Cheers,
Doug
"John Camelon" <jcamelon@ca.ibm.com> wrote in message
news:bl9c6a$p8n$1@eclipse.org...
> The 1.2 parser only supports ANSI for C and C++.
> We have not yet designed an extension point for the parser, until we do
so,
> I would not recommend subclassing the internal parser implementation.
>
> "Bob Monteleone" <robert.monteleone@intel.com> wrote in message
> news:bl22ok$8ro$1@eclipse.org...
> >
> > I am trying to find out information about the default language parser in
> > CDT 1.2. What version of C/C++ does it parse ? From what I have learned,
> > it appears that is designed to parse a standard version of C/C++, rather
> > than a specific version of, say a gcc compiler. Correct ? Is there any
> > information available which documents the syntax being parsed ?
> >
> > I am interested in this information because I am attempting to discern
> > what is involved in adding parser support for a particular C/C++
language
> > dialect. My sense is that I would start with the existing parser and
> > extend it to recognize any specific language extensions. The first step
> > involved in this approach is to determine what the current CDT parser
> > supports and then to determine how the C/C++ language to be supported
> > differs from the default C/C++ language supported.
> >
> > Or is it the case that the parser is fairly rudimentary, supporting only
> > the language "core", and thus effectively supports all C/C++ variants ?
> >
> > Any insights appreciated.
> >
> > Bob Monteleone
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02907 seconds