Re: new experimental C++ parser (branch)
Stefan Seefeld <[email protected]>
| Newsgroups | gmane.comp.documentation.synopsis |
|---|---|
| Message-ID | <[email protected]> |
Roman Yakovenko wrote: > On 10/21/05, Stefan Seefeld <[email protected]> wrote: > >>hi there, >>After having dragged the idea around for a couple of weeks >>I now created a new branch and committed some initial code >>in an attempt to rewrite the C++ parser from scratch to make >>it 'more' standard conformant. >> > > > Why not to take C++ parser from gcc? There are a number of reasons: 1) The generated intermediate representation is quite different from the one synopsis is using. 2) It is written in C. 3) It is released under the GPL and thus not compatible with synopsis' LGPL. However, there is a big deal of inspiration I get from the gcc C++ parser, notably its handling of tentative parsing. Regards, Stefan