Skip to content

Commit 9948c0a

Browse files
authored
Merge pull request #1240 from CakeML/use-no_sig_docs
Use no_sig_docs instead of `Feedback.set_trace "TheoryPP.include_docs" 0`
2 parents b6343a9 + 4809f91 commit 9948c0a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+43
-83
lines changed

basis/pure/basis_cvScript.sml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(*
22
Translation of basis types and functions for use with cv_compute.
33
*)
4-
Theory basis_cv
4+
Theory basis_cv[no_sig_docs]
55
Ancestors
66
cv_std
77
Libs
@@ -51,4 +51,3 @@ QED
5151
val _ = cv_trans (mlintTheory.toString_def |> SRULE [Num_ABS]);
5252
val _ = cv_trans mlintTheory.num_to_str_def;
5353

54-
val _ = Feedback.set_trace "TheoryPP.include_docs" 0;

compiler/bootstrap/translation/ag32ProgScript.sml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(*
22
Translate the ag32 instruction encoder and ag32-specific config.
33
*)
4-
Theory ag32Prog
4+
Theory ag32Prog[no_sig_docs]
55
Ancestors
66
evaluate ml_translator ag32_target ag32 arm7Prog[qualified]
77
Libs
@@ -143,6 +143,5 @@ val res = translate def;
143143

144144
val r = translate (format_def ag32_config_def);
145145

146-
val () = Feedback.set_trace "TheoryPP.include_docs" 0;
147146

148147
val _ = (ml_translatorLib.clean_on_exit := true);

compiler/bootstrap/translation/arm7ProgScript.sml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(*
22
Translate the ARMv7 instruction encoder and ARMv7-specific config.
33
*)
4-
Theory arm7Prog
4+
Theory arm7Prog[no_sig_docs]
55
Ancestors
66
evaluate ml_translator from_pancake32Prog arm7_target arm
77
to_target32Prog[qualified]
@@ -485,7 +485,6 @@ val res = translate def;
485485

486486
val res = translate (arm7_config_def |> SIMP_RULE std_ss[valid_immediate_def] |> gconv)
487487

488-
val () = Feedback.set_trace "TheoryPP.include_docs" 0;
489488

490489
val _ = ml_translatorLib.ml_prog_update (ml_progLib.close_module NONE);
491490

compiler/bootstrap/translation/arm8ProgScript.sml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(*
22
Translate the ARMv8 instruction encoder and ARMv8-specific config.
33
*)
4-
Theory arm8Prog
4+
Theory arm8Prog[no_sig_docs]
55
Ancestors
66
arm8_target arm8 evaluate ml_translator x64Prog
77
Libs
@@ -515,7 +515,6 @@ val _ = translate (valid_immediate_def |> SIMP_RULE bool_ss
515515
Theorem arm8_config_v_thm[allow_rebind] =
516516
translate (arm8_config_def |> SIMP_RULE bool_ss [IN_INSERT,NOT_IN_EMPTY]|> econv)
517517

518-
val () = Feedback.set_trace "TheoryPP.include_docs" 0;
519518

520519
val _ = ml_translatorLib.ml_prog_update (ml_progLib.close_module NONE);
521520

compiler/bootstrap/translation/basis_defProgScript.sml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(*
22
Translate the basis library term.
33
*)
4-
Theory basis_defProg
4+
Theory basis_defProg[no_sig_docs]
55
Ancestors
66
ml_translator sexp_parserProg
77
Libs
@@ -21,4 +21,3 @@ val res = translate basisProgTheory.basis_def;
2121

2222
val _ = ml_translatorLib.ml_prog_update (ml_progLib.close_module NONE);
2323

24-
val () = Feedback.set_trace "TheoryPP.include_docs" 0;

compiler/bootstrap/translation/caml_lexProgScript.sml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(*
22
Translation of the OCaml lexer.
33
*)
4-
Theory caml_lexProg
4+
Theory caml_lexProg[no_sig_docs]
55
Ancestors
66
caml_lex parserProg ml_translator
77
Libs
@@ -170,6 +170,5 @@ val r = translate (caml_lexTheory.next_sym_def |> REWRITE_RULE [GSYM sub_check_d
170170

171171
val r = translate caml_lexTheory.lexer_fun_def;
172172

173-
val () = Feedback.set_trace "TheoryPP.include_docs" 0;
174173

175174
val () = ml_translatorLib.clean_on_exit := true;

compiler/bootstrap/translation/caml_parserProgScript.sml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(*
22
Translation of the functions in caml_parserScript.sml
33
*)
4-
Theory caml_parserProg
4+
Theory caml_parserProg[no_sig_docs]
55
Ancestors
66
misc[qualified] camlPEG camlPtreeConversion caml_parser
77
ml_translator caml_lexProg
@@ -300,6 +300,5 @@ QED
300300

301301
val _ = update_precondition run_side;
302302

303-
val () = Feedback.set_trace "TheoryPP.include_docs" 0;
304303
val () = ml_translatorLib.clean_on_exit := true;
305304

compiler/bootstrap/translation/compiler32ProgScript.sml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(*
22
Finish translation of the 32-bit version of the compiler.
33
*)
4-
Theory compiler32Prog
4+
Theory compiler32Prog[no_sig_docs]
55
Ancestors
66
compiler export ml_translator ag32Prog[qualified]
77
arm7Prog[qualified] basis_ffi[qualified]
@@ -531,5 +531,4 @@ Theorem semantics_compiler32_prog =
531531
|> DISCH_ALL
532532
|> SIMP_RULE (srw_ss()) [AND_IMP_INTRO,GSYM CONJ_ASSOC]
533533

534-
val () = Feedback.set_trace "TheoryPP.include_docs" 0;
535534
val _ = ml_translatorLib.reset_translation(); (* because this translation won't be continued *)

compiler/bootstrap/translation/compiler64ProgScript.sml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(*
22
Finish translation of the 64-bit version of the compiler.
33
*)
4-
Theory compiler64Prog
4+
Theory compiler64Prog[no_sig_docs]
55
Ancestors
66
mipsProg compiler export ml_translator basis_ffi[qualified]
77
Libs
@@ -785,5 +785,4 @@ Theorem Decls_FRONT_compiler64_prog = th1
785785

786786
Theorem LAST_compiler64_prog = EVAL “LAST compiler64_prog”;
787787

788-
val () = Feedback.set_trace "TheoryPP.include_docs" 0;
789788
val _ = ml_translatorLib.reset_translation(); (* because this translation won't be continued *)

compiler/bootstrap/translation/decodeProgScript.sml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(*
22
Translate the compiler's state decoder.
33
*)
4-
Theory decodeProg
4+
Theory decodeProg[no_sig_docs]
55
Ancestors
66
num_list_enc_dec num_tree_enc_dec backend_enc_dec explorerProg
77
ml_translator
@@ -260,7 +260,6 @@ val res = translate backend_inc_config_dec_def;
260260

261261
val res = translate decode_backend_config_def;
262262

263-
val () = Feedback.set_trace "TheoryPP.include_docs" 0;
264263

265264
val _ = ml_translatorLib.ml_prog_update (ml_progLib.close_module NONE);
266265

0 commit comments

Comments
 (0)