12345678910111213141516171819202122232425262728293031323334353637383940(* Serialization for agent types *)moduleLsp=Fleche_lsp(* Implement State.t and Env.t serialization methods *)moduleState=Obj_map.Make(Petanque.Agent.State)moduleInspect=structtypet=[%import:Petanque.Agent.State.Inspect.t][@@derivingyojson]end(* The typical protocol dance *)moduleError=structtypet=[%import:Petanque.Agent.Error.t][@@derivingyojson]endmoduleRun_opts=structtypet=[%import:Petanque.Agent.Run_opts.t][@@derivingyojson]endmoduleRun_result=structtype'at=[%import:'aPetanque.Agent.Run_result.t][@@derivingyojson]end(* Both are needed as of today *)moduleStdlib=Lsp.JStdlibmoduleResult=Stdlib.ResultmoduleGoals=structtypet=stringLsp.JCoq.Goals.reified_ppoption[@@derivingyojson]endmoduleLang=Lsp.JLangmodulePremise=structmoduleInfo=structtypet=[%import:Petanque.Agent.Premise.Info.t][@@derivingyojson]endtypet=[%import:Petanque.Agent.Premise.t][@@derivingyojson]end