parse library