Support parsing of IR both in binary and text format, and macro IR support along with IR_obj, IR_set, IR_ctor, IR_get, IR_type.