LetExp([ VarDec(a,false,NONE, IntExp(0)), FunctionDec[ (printint,[ (i,false,int)], NONE, LetExp([ FunctionDec[ (f,[ (i,false,int)], NONE, IfExp( OpExp(GtOp, VarExp( SimpleVar(i)), IntExp(0)), SeqExp[ CallExp(f,[ OpExp(DivideOp, VarExp( SimpleVar(i)), IntExp(10))]), CallExp(print,[ CallExp(chr,[ OpExp(PlusOp, OpExp(MinusOp, VarExp( SimpleVar(i)), OpExp(TimesOp, OpExp(DivideOp, VarExp( SimpleVar(i)), IntExp(10)), IntExp(10))), CallExp(ord,[ StringExp("0")]))])])]))]], IfExp( OpExp(LtOp, VarExp( SimpleVar(i)), IntExp(0)), SeqExp[ CallExp(print,[ StringExp("-")]), CallExp(f,[ OpExp(MinusOp, IntExp(0), VarExp( SimpleVar(i)))])], IfExp( OpExp(GtOp, VarExp( SimpleVar(i)), IntExp(0)), CallExp(f,[ VarExp( SimpleVar(i))]), CallExp(print,[ StringExp("0")])))))]], SeqExp[ WhileExp( OpExp(LtOp, VarExp( SimpleVar(a)), IntExp(100)), AssignExp( SimpleVar(a), OpExp(PlusOp, VarExp( SimpleVar(a)), IntExp(1)))), CallExp(printint,[ VarExp( SimpleVar(a))])])