开发者

building a parser with clang

开发者 https://www.devze.com 2023-01-11 21:20 出处:网络
I need to build an AST using clang and the only tutorials that I found are vague and two year开发者_JAVA技巧s out of date. Could anybody point me to an example?There are several tutorial available tha

I need to build an AST using clang and the only tutorials that I found are vague and two year开发者_JAVA技巧s out of date. Could anybody point me to an example?


There are several tutorial available that demonstrate the use of the Preprocessor class and how to build an AST:

  • A CLang tutorial (a bit outdated but with a lot of explanation)
  • Code samples
0

精彩评论

暂无评论...
验证码 换一张
取 消