Adding Annotation Syntax to C++ Source

前端 未结 2 767
野性不改
野性不改 2021-01-20 16:53

I want to create my own custom annotation (just like the Java style annotation) tags in my C++ source. Since standard C++ syntax doesn\'t allow annotation, I\'d like to mod

2条回答
  •  难免孤独
    2021-01-20 17:55

    Does Visual Studio expose its compiler internals for users to modify (e.g. output of its lexer, abstract syntax tree, etc.)?

    No

    Are there any third party tools for parsing C++ syntax and allow me to emit my own customized C++ source base on my own annotation?

    Clang

提交回复
热议问题