subscript parser