Christian Lester D. Gimeno
Computer Department, College of Arts and Sciences, Iloilo Science and
Technology University, Iloilo City, Philippines
christianlester.gimeno@isatu.edu.ph
Date Received: August 2, 2017; Date Revised: October 27, 2017
Asia Pacific Journal of Multidisciplinary Research
Vol. 5 No.4, 31-38
November 2017
P-ISSN 2350-7756
E-ISSN 2350-8442
Pseudocode Interpreter (Pseudocode Integrated Development Environment with Lexical Analyzer and Syntax Analyzer using Recursive Descent Parsing Algorithm) 803 KB 2 downloads
Niña Vanessa F. Cea, Arianne Y. Celicious, Charles Andre V. Espiritu, Mariecris...
This research study focused on the development of a software that helps students design, write, validate and run their pseudocode in a semi Integrated Development Environment (IDE) instead of manually writing it on a piece of paper.Specifically, the study aimed to develop lexical analyzer or lexer, syntax analyzer or parser using recursive descent parsing algorithm and an interpreter. The lexical analyzer reads pseudocodesource in a sequence of symbols or characters as lexemes.The lexemes are then analyzed by the lexer that matches a pattern for valid tokens and passes to the syntax analyzer or parser. The syntax analyzer or parser takes those valid tokens and builds meaningful commands using recursive descent parsing algorithm in a form of an abstract syntax tree. The generation of an abstract syntax tree is based on the specified grammar rule created by the researcher expressed in Extended Backus-Naur Form. The Interpreter takes the generated abstract syntax tree and starts the evaluation or interpretation to produce pseudocode output. The software was evaluated using white-box testing by several ICT professionals and black-box testing by several computer science students based on the International Organization for Standardization (ISO) 9126 software quality standards. The overall results of the evaluation both for white-box and black-box were described as “Excellent in terms of functionality, reliability, usability, efficiency, maintainability and portability”.
Keywords –Interpreted Programming Language, Lexical Analysis, Pseudocode Interpreter, Recursive Descent Parsing,Syntax Analysis