finished parser except for bar repeat validation