[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [cdt-dev] Eclipsecon 2007 - SAFARI
|
> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On
> Behalf Of Mike Kucera
> Sent: Monday, March 19, 2007 9:27 PM
> To: CDT General developers list.
> Subject: RE: [cdt-dev] Eclipsecon 2007 - SAFARI
>
> Part of the question seems to ask if a non-Java based parser will work
> with
> eclipse. Maybe someone else can answer that question definitively, but I
> would guess that that's not really feasible.
I actually think it is feasible. It would be a lot of work. But you can call
Java methods from C to create the necessary DOM objects that the parser
would need to create to mesh into the rest of the CDT.
> One thing you should consider is whether the syntax of Oz lends itself
> well
> to bottom up parsing. I've had a lot of success with LPG so far, but I am
> having problems with ambiguities in the C99 grammar. This is why Doug is
> leaning towards using ANTLR for his C# parser.
Correct. Top down allows you to consider the context in which you are trying
to reduce a rule to make smart decisions as to how to resolve ambiguities.
> Also, I got the impression from the eclipsecon presentation file that when
> SAFARI is released it will include a new version of LPG with better error
> recovery.
>
> I plan on writing some documentation on CDT multi-language support after I
> get a bit further with the C99 parser. Doug, is the CDT wiki considered
> the
> best place for this kind of documentation?
The wiki is the best place to start. I imagine eventually though that this
should be part of the ISV doc plugin.
Doug Schaefer, QNX Software Systems
Eclipse CDT Project Lead, http://cdtdoug.blogspot.com