Journal of Software Engineering and Applications

Volume 13, Issue 5 (May 2020)

ISSN Print: 1945-3116   ISSN Online: 1945-3124

Google-based Impact Factor: 1.22  Citations  h5-index & Ranking

Intermediate Representation Using Graph Visualization Software

HTML  XML Download Download as PDF (Size: 2357KB)  PP. 77-90  
DOI: 10.4236/jsea.2020.135006    521 Downloads   2,092 Views  

ABSTRACT

In this paper, a method to initiate, develop and visualize an abstract syntax tree (AST) in C++ source code is presented. The approach is in chronological order starting with collection of program codes as a string and split into individual characters using regular expression. This will be followed by separating the token grammar using best first search (BFS) algorithm to determine node having lowest value, lastly followed by graph presentation of intermediate representation achieved with the help of graph visualization software (GraphViz) while former is implemented using python programming language version 3. The efficacy of our approach is used in analyzing C++ code and yielded a satisfactory result.

Share and Cite:

Aliyu, E. , Adetunmbi, A. and Ojokoh, B. (2020) Intermediate Representation Using Graph Visualization Software. Journal of Software Engineering and Applications, 13, 77-90. doi: 10.4236/jsea.2020.135006.

Cited by

No relevant information.

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.