generate_param: add a means to generate param_table_gen.c from the docs