Make a parser for a user input