Make generate_parser emit a function directly. Have parse() call the function of the start rule