basically this is the assignment and scoring requirements:
Objective:
Create an interpreter. Your interpreter should ask you for one instuction at a time. If the instruction is "end" the interpreter should finish and print the entire program in Java with tabs.
Example:
int x
set x = 4
print "value is " + 4
if x ==4
print "neat"
else
print "not neat"
end if end
user can input strings until the string end is entered. Program reads the first word of a string and determines what to do next. Program saves each string (motified if needed) in a dynamic array. Dynamic array will re size by one cell each time a new instruction is added.
types of instructions:
print
set
end
while
if
else
end if
end while
int
double
String
boolean
char
Any ideas at all where to start?