Grammar parsing almost finished