My question is what I will need learn to complete that task ...the task is to create automatic code generator from simple programming instructions like
(x:=5-z; while x<z do (x:=x*2; z:=z+x) )
and translate it to ABSTRACT MACHINE INSTUCTIONS ..
PUSH-5:FETCH-z:SUB:STORE-x: LOOP ...etc....
so my question is...Where to start?? , I will need some parser and the parser have to work with some XML ..but I really don´t know how to define XML ..
please help where to start ..thanks ..
I will code it in JAVA swing UI