java program -- 2
Budget: €8 – €60 EUR
Create a program interpreter for a LISP-like language containing variable definitions, input / output instructions, conditional choices and loops, limited only to operations between integer variables. The interpreter must perform the following operations:
• Read a file, called "source file" in the following, which contains the program to be interpreted; the syntax of the program is defined by an unambiguous context free grammar (shown below).
• Run the program contained in the source file.
• Request the console to enter any data required by the input instructions and view the result of expressions provided by the output instructions on the console.
• Read a file, called "source file" in the following, which contains the program to be interpreted; the syntax of the program is defined by an unambiguous context free grammar (shown below).
• Run the program contained in the source file.
• Request the console to enter any data required by the input instructions and view the result of expressions provided by the output instructions on the console.