Parser and emiting psevdo code