Generation of Pseudo Code from the Python Source Code using Rule-Based Machine Translation
Sawan Rai, Atul Gupta

TL;DR
This paper presents a rule-based method to automatically generate pseudo code from Python source code by converting it to XML and then applying templates, aiming to facilitate understanding of complex programs.
Contribution
The approach introduces a novel pipeline converting Python code to XML and then generating pseudo code using templates, reducing manual effort in pseudo code creation.
Findings
Initial performance results demonstrate feasibility
Method effectively extracts key code information
Potential to improve code comprehension workflows
Abstract
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.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Natural Language Processing Techniques · Web Data Mining and Analysis
