parse formal from left to right