package rocq-runtime
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
The Rocq Prover -- Core Binaries and Tools
Install
dune-project
Dependency
Authors
Maintainers
Sources
rocq-9.1.0.tar.gz
sha256=b236dc44f92e1eeca6877c7ee188a90c2303497fe7beb99df711ed5a7ce0d824
doc/src/rocq-runtime.coqdeplib/rocqdep_main.ml.html
Source file rocqdep_main.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62(************************************************************************) (* * The Rocq Prover / The Rocq 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) *) (************************************************************************) (** The basic parts of coqdep are in [Common]. *) let warn_home_dir = let category = CWarnings.CoreCategories.filesystem in CWarnings.create ~name:"cannot-locate-home-dir" ~category Pp.str let coqdep args = let open Common in ignore (Feedback.(add_feeder (console_feedback_listener Format.err_formatter))); (* Initialize coqdep, add files to dependency computation *) if CList.is_empty args then Args.usage (); let args = Args.parse (Args.make ()) args in let v_files = args.Args.files in (* We are in makefile hack mode *) let make_separator_hack = true in let rocqenv, st = init ~make_separator_hack args in let lst = Common.State.loadpath st in let st = List.fold_left treat_file_command_line st v_files in (* XXX: All the code below is just setting loadpaths, refactor to Common coq.boot library *) (* Add current dir with empty logical path if not set by options above. *) (try ignore (Loadpath.find_dir_logpath (Sys.getcwd())) with Not_found -> Loadpath.add_norec_dir_import (Loadpath.add_known lst) "." []); (* We don't setup any loadpath if the -boot is passed *) let () = match rocqenv with | Boot -> () | Env env -> let corelib = Boot.Env.(corelib env |> Path.to_string) in let plugins = Boot.Env.(plugins env |> Path.to_string) in let user_contrib = Boot.Env.(user_contrib env |> Path.to_string) in Loadpath.add_rec_dir_import (Loadpath.add_coqlib_known lst) corelib ["Corelib"]; Loadpath.add_rec_dir_import (Loadpath.add_coqlib_known lst) plugins ["Corelib"]; if Sys.file_exists user_contrib then Loadpath.add_rec_dir_no_import (Loadpath.add_coqlib_known lst) user_contrib []; let add_dir s = Loadpath.add_rec_dir_no_import (Loadpath.add_coqlib_known lst) s [] in List.iter add_dir (Envars.xdg_dirs ~warn:warn_home_dir); List.iter add_dir (Envars.coqpath()) in if args.Args.sort then sort st else compute_deps st |> List.iter (Makefile.print_dep Format.std_formatter) let main args = try coqdep args with exn -> Format.eprintf "*** Error: @[%a@]@\n%!" Pp.pp_with (CErrors.print exn); exit 1
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>