Reference parsing library