parser developed in scala