diff options
| author | Brian Campbell | 2020-06-10 21:33:09 +0100 |
|---|---|---|
| committer | Brian Campbell | 2020-06-10 21:38:06 +0100 |
| commit | d2b4a7a1d654cf8f315e2471b1470506255f3d68 (patch) | |
| tree | 607a709d4912b80a7eb3966ad88a25d7b7bd159c /src | |
| parent | 18719e6801e804c4f5302745bb7cfb6dfe3a6c98 (diff) | |
Prepare Coq library for packaging
- rename files to get rid of prefix
- use -Q to get package name right
- add Base.v to make package imports simpler
- add opam file for coq package
Diffstat (limited to 'src')
| -rw-r--r-- | src/process_file.ml | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/process_file.ml b/src/process_file.ml index 116788b9..74b4d05b 100644 --- a/src/process_file.ml +++ b/src/process_file.ml @@ -359,16 +359,7 @@ let output_lem filename libs type_env defs = let output_coq opt_dir filename alt_modules alt_modules2 libs defs = let generated_line = generated_line filename in let types_module = (filename ^ "_types") in - let monad_modules = ["Sail2_prompt_monad"; "Sail2_prompt"; "Sail2_state"] in - let operators_module = "Sail2_operators_mwords" in - let base_imports_default = [ - "Sail2_instr_kinds"; - "Sail2_values"; - "Sail2_string"; - "Sail2_real"; - operators_module - ] @ monad_modules - in + let base_imports_default = ["Sail.Base"; "Sail.Real"] in let base_imports = (match alt_modules with | [] -> base_imports_default |
