[calculator] added parser implementation and priority provider.