bytedeco/javacpp

Improve Parser: Use the Clang API

Open

#51 aperta il 3 dic 2015

Vedi su GitHub
 (69 commenti) (0 reazioni) (0 assegnatari)Java (620 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (4279 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

I'm in the process of doing this right now. Currently, the following issues exists with the approach I'm taking:

  • Preprocessor directives are not supported: This is fixable, because Clang can be made aware of those, but it doesn't by default. I'll leave this for later.
  • Normal comments cannot be read: Unless I've missed some Clang flag, non-doc comments are completely ignored. I'm not sure this is a big deal, but nonetheless, it's different from the current behavior.

Guida contributor