added attr.op as opkind type. works. had to modify lex, and yacc and op and assign nodes. print out works fine.