The work briefly describes compiler compilers COCO-2, LEX and YACC. With the aid of these compiler compilers the methodology was illustrated for constructing a translator for robot-oriented programming languages. A comparative analysis was presented of the technique for realization of the translator using the COCO-2 and LEX-YACC compiler compilers.