Made some function private
Parser now's a curried function, receiving grammar first and then the message.