parse data layout specification string, this is needed to compute type size.