123456789101112131415161718192021222324252627282930313233343536(************************************************************************)(* * The Coq Proof Assistant / The Coq Development Team *)(* v * Copyright INRIA, CNRS and contributors *)(* <O___,, * (see version control and CREDITS file for authors & dates) *)(* \VV/ **************************************************************)(* // * This file is distributed under the terms of the *)(* * GNU Lesser General Public License Version 2.1 *)(* * (see LICENSE file for the text of the license) *)(************************************************************************)letworker_parse_extraextra_args=letstm_opts,extra_args=Stmargs.parse_args~init:Stm.AsyncOpts.default_optsextra_argsin((),stm_opts),extra_argsletworker_initinit((),_)_injections~opts=Flags.quiet:=true;init();Coqtop.init_toploopoptsletworker_specific_usagename=Usage.{executable_name=name;extra_args="";extra_options=("\n"^name^" specific options:\
\n --xml_format=Ppcmds serialize pretty printing messages using the std_ppcmds format\n");}letstart~init~loopname=letopenCoqtopinletcustom={parse_extra=worker_parse_extra;usage=worker_specific_usagename;initial_args=Coqargs.default;init_extra=worker_initinit;run=(fun((),_)~opts:__state(* why is state not used *)->loop());}instart_coqcustom