>java MJ.Compiler TestAllProds.mic ----------------------------------- Parsing file TestAllProds.mic ... No errors! Syntax OK. ------------------------------ Dumping scope 0: - 0 variables - 8 nodes Type int is Int Type char is Char Class with 0 fields Con null = 0 Char Con eol = 10 <0> Meth chr has 1 params, returns Char { Var #0 i<1> = Int } <0> Meth ord has 1 params, returns Int { Var #0 ch<1> = Char } <0> Meth len has 1 params, returns Int { Var #0 arr<1> = Arr of None } Prog TestAllProds { Int Con nPoints = 2 Char Con exclaim = 33 Type Point is Class with 2 fields: Fld #0 x is Int Fld #1 y is Int Var #0 msg<0> = Arr of Char Var #1 pArr<0> = Arr of Class with 2 fields: Fld #0 x is Int Fld #1 y is Int <0> Meth printError has 0 params, returns None { Var #0 i<1> = Int } <61> Meth getX has 1 params, returns Int { Var #0 p<1> = Class with 2 fields: Fld #0 x is Int Fld #1 y is Int } <72> Meth setX has 2 params, returns None { Var #0 x<1> = Int Var #1 p<1> = Class with 2 fields: Fld #0 x is Int Fld #1 y is Int } <145> Meth setMsg has 0 params, returns None <206> Meth setPoints has 0 params, returns None { Var #0 i<1> = Int } <259> Meth main has 0 params, returns None { Var #0 i<1> = Int } }