parsing and compiling assignments