中文

基于规则机器翻译从Python源代码生成伪代码

软件工程 2019-07-25 v3

摘要

伪代码是理解复杂程序代码的有价值产物之一。由于编写伪代码过程耗时,大多数源代码仍无等效伪代码。本工作中,我们开发了一种从Python源代码生成伪代码的方法。第一步,我们将Python代码转换为XML代码以更好地提取代码信息。接下来,从XML代码中提取重要信息,随后借助伪代码模板用于生成实际伪代码。本文讨论了初步性能结果。

关键词

引用

@article{arxiv.1906.06117,
  title  = {Generation of Pseudo Code from the Python Source Code using Rule-Based Machine Translation},
  author = {Sawan Rai and Atul Gupta},
  journal= {arXiv preprint arXiv:1906.06117},
  year   = {2019}
}

备注

I need to make some base implementation level changes