Please use this identifier to cite or link to this item: https://dl.ucsc.cmb.ac.lk/jspui/handle/123456789/4246
Title: Converter to Translate Program Source-Code to Flowchart
Authors: Nasik, M. S.
Issue Date: 27-Jul-2021
Abstract: Modern software development is so dynamic. Each and everyday a new technology flows in. When it comes to programming languages, numerous extensions, number of new programming languages, and major updates to the existing programming languages are released frequently. Moreover the process of development, along with the new advancement like micro-services architecture and distributed software development methodologies, is very dynamic too. Hence developers have a need for understanding, debugging and modifying source-code written by themselves sometime back, which they may have forgotten, or written by their peers or someone they may not know of. It is hard for developers at such instances to read the code and understand the whole logic behind the code at once. Flow control is considered the logical flow of software programs. Over the years flowcharts are proven to be standard in depicting the logical flow of a process. It is an effective way of representing the flow control of software programs. It would be interesting if there’s a tool which could translate the source-code of a programming language to flowcharts. A prototype compiler named toFlowchart which translates Hypertext Preprocessor (PHP) source-code to flowcharts is modelled and implemented. This is so modelled it can translate the written source-code to flowcharts when the source-code of the language and the corresponding language specification are given. This is a novel approach for solving the problem. The results produced by the model compiler when implemented with the sourcecode written by hand were evaluated. The generated flowcharts were proven to be correct representations of the source-code and found to be valid according to flowchart specifications. This approach in generating flowcharts from source-code using a compiler architecture is found to be first of its kind when referring to the previous work done and the literature reviewed. Though the scope of the compiler implemented was minimal, improvements can be built upon it to widen its scope much further. Moreover, someone interested may follow the same approach in designing a compiler for other visualizations like use-case and class diagrams. The designed and implemented model is referred to as toFlowchart throughout this work
URI: http://dl.ucsc.cmb.ac.lk/jspui/handle/123456789/4246
Appears in Collections:2018

Files in This Item:
File Description SizeFormat 
2015MCS050.pdf3.59 MBAdobe PDFView/Open


Items in UCSC Digital Library are protected by copyright, with all rights reserved, unless otherwise indicated.