How to convert source code to a xml based representation of the ast?

前端 未结 5 1458
囚心锁ツ
囚心锁ツ 2021-02-06 07:51

i wanna get a xml representation of the ast of java and c code. 3 months ago, i asked this question yet but the solutions weren\'t comfortable for me

  • srcml seems t
5条回答
  •  情深已故
    2021-02-06 08:14

    There is GCC-XML at http://www.gccxml.org/HTML/Index.html - caveat; I haven't actually used it myself.

提交回复
热议问题