<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="client.xsl" type="text/xsl"?>
<article article-type="other">
<front>
<journal-meta>
<journal-id/>
<issn/>
<banner>
<href>banner.jpg</href>
<size width="100%"/>
</banner>
</journal-meta>
<article-meta>
<title-group>
<article-title>Adding Menus to an Interpreter Program for a Programming Language</article-title> 
</title-group>

<author>Octavian Nicolio</author>

<aff>University of Indianapolis, USA</aff>


</article-meta></front>
<body>
<abstract>
<title>ABSTRACT</title>
<p>In this paper we add menus to an Interpreter program developed in [4, 5] for a programming language. The program is written in Java using classes, objects, inheritance and other object-oriented features. An Interpreter is a computer program like a compiler. However, it differs from a compiler in that it executes the source program immediately. Our Interpreter program interpretes a program written in a programming language. The programming language accepts arithmetic expressions, variables, commands such as printx, inputx, ifx, forx, whilex and functions. Our Interpreter program is a modification of Schildt&#8217;s [6,7] Interpreter by replacing arrays with linked-lists to store variables, commands and functions. By using arrays a program needs to reserve a large amount of memory ahead of time in order to store variables, commands and functions. By using linked-lists we dynamically allocate memory as it is needed, and consequently the program is more memory efficient.</p>
<p><italic>
Keywords: </italic>Interpreter, Linked-Lists, Java programming language, Menus, Graphical user interface</p>
</abstract>
<fpdf>
<href>pdflogo.jpg</href>
<hpdf>H9V21</hpdf>
</fpdf>
</body>
</article>
