front end parser