A cost-optimal parallel algorithm for the parentheses matching problem on an EREW PRAM | IEEE Conference Publication | IEEE Xplore