Generation of Pseudo Code from the Python Source Code using Rule-Based Machine Translation

06/14/2019
by   Sawan Rai, et al.
0

Pseudo code is one of the valuable artifacts to comprehending the complex program codes. Most of the source code still has no equivalent pseudo code, due to the time-consuming process of writing pseudo codes. In this work, we have developed an approach to generate pseudo code from the python source code. In the first step, we convert python code into XML code for better code information extraction. Next, Important information extracted from the XML code, which later on used to generate actual pseudo code with the help of pseudo code templates. Initial performance results have been discussed in this paper.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset