Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-core-dev] Open C++ Parser

Title: RE: [cdt-core-dev] Open C++ Parser

Done.  I called the branch NewParser1 since there really isn't very much left of the Open C++ parser other than most of the grammar.  They still deserve the copyright notice for the Parser class, however.  I'll put the new work in the source folder 'newparser' so you can easily find it.  This will happen over the next few days as we clean up our prototype to make it more presentable.  It should be under the tree for Christmas ;-)

 

Doug Schaefer

Senior Staff Software Engineer

Rational - the software development company

Ottawa (Kanata), Ontario, Canada

 

-----Original Message-----
From: Schaefer, Doug [mailto:dschaefer@xxxxxxxxxxxx]
Sent: Tuesday, December 17, 2002 9:39 PM
To: 'cdt-core-dev@xxxxxxxxxxx'
Subject: RE: [cdt-core-dev] Open C++ Parser

 

That's a great idea, Alain.  I'll give it a shot.

Doug Schaefer
Senior Staff Software Engineer
Rational - the software development company
Ottawa (Kanata), Ontario, Canada
 

-----Original Message-----
From: Alain Magloire [mailto:alain@xxxxxxx]
Sent: Tuesday, December 17, 2002 7:38 PM
To: cdt-core-dev@xxxxxxxxxxx
Subject: Re: [cdt-core-dev] Open C++ Parser

>
> Hey all,
>

>
> We're having a lot of fun here porting the Open C++ parser to Java for
> potential use in the CDT.  We've started parsing some basic things like
> stdio.h and performance up until now seems to be reasonable.
>

>
> However, before we get too far, people on the conference call on Monday
> mentioned they had experience with the Open C++ parser and were willing to
> share that with us.  If you were one of those persons, could you please drop
> us a line.  I have made some changes to make the parser do what we want
> including: our own handwritten scanner that also handles pre-processor
> directives, using exceptions for backtracking, replacing the Ptree with our
> own JDT-like AST, amongst other minor changes.  In the end, we're really
> only using the grammar and the strategy of handwriting the parser.  And it
> seems to be working although there is a lot of testing that needs to go
> on...
>

I would propose, if that can make things easier for you, to make a
branch, openc-cpp or something.
This would be a developement branch.  Then we can merge it back or not.

_______________________________________________
cdt-core-dev mailing list
cdt-core-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-core-dev


Back to the top