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

前端 未结 5 1457
囚心锁ツ
囚心锁ツ 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:08

    a bit late but here is one: http://xmltranslator.appspot.com/sourcecodetoxml.html

    I have implemented it myself and it converts PHP and Java to XML. It's free so enjoy!

    Oana.

提交回复
热议问题