refactor internals of app_parse (simpler compilation, less duplication, fix pfc computation)
refactor internals of app_parse (simpler compilation, less duplication, fix pfc computation)

c-cube/ocaml-containers,marklrh/ocaml-containers