bytedeco/javacpp

Improve Parser: Use the Clang API

Open

#51 opened on Dec 3, 2015

View on GitHub
 (69 comments) (0 reactions) (0 assignees)Java (620 forks)batch import
enhancementhelp wanted

Repository metrics

Stars
 (4,279 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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.

Contributor guide