Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-core-dev] Another Parser Document

> 
> HTML format only, for those who wish to know about what I'm doing. 

8-), always.

> Questions, comments, criticisms and well-tempered abuse are always 
> welcome. 
> 

Sorry for being late.

> 

Few points that I did not see in the document or escaped me:

* You mention that you'll have to deal with different C/C++ dialect.
  So the parser by default will understand what:
  = For C++
    - ISO C++ ?
    - ARM ?
  = For C
    - K&R ?
    - Ansi C 89 ?
    - Ansi C 99 ?
  = GNU extensions
    - GNU C dialect ?
    - GNU C++ dialect ?

It is clear(at least to me) that it is probably not a good idea to
support those dialects within CDT, so what are the mechanism to
add new parser for my dialects:
  - Watcomm C
  - Hp aCC
  - Solaris SunPro CC
  ...

* We are very please here that you went with the
  ISourceElementRequestor for the callback. Nice.

* Dealing with translation unit outside the workspace.
  Is the new architecture make this easier ?  Before
  we have to go through loops and curvers, since the parser
  only accept ITranslationUnit which can only be implemented
  by the CoreModel.

* No word on the memory usage?




Back to the top