equal
deleted
inserted
replaced
314 |
314 |
315 in |
315 in |
316 |
316 |
317 val _ = |
317 val _ = |
318 OuterSyntax.improper_command "code_thms" "print system of defining equations for code" OuterKeyword.diag |
318 OuterSyntax.improper_command "code_thms" "print system of defining equations for code" OuterKeyword.diag |
319 (Scan.repeat P.term |
319 (Scan.repeat P.term_group |
320 >> (fn cs => Toplevel.no_timing o Toplevel.unknown_theory |
320 >> (fn cs => Toplevel.no_timing o Toplevel.unknown_theory |
321 o Toplevel.keep ((fn thy => code_thms_cmd thy cs) o Toplevel.theory_of))); |
321 o Toplevel.keep ((fn thy => code_thms_cmd thy cs) o Toplevel.theory_of))); |
322 |
322 |
323 val _ = |
323 val _ = |
324 OuterSyntax.improper_command "code_deps" "visualize dependencies of defining equations for code" OuterKeyword.diag |
324 OuterSyntax.improper_command "code_deps" "visualize dependencies of defining equations for code" OuterKeyword.diag |
325 (Scan.repeat P.term |
325 (Scan.repeat P.term_group |
326 >> (fn cs => Toplevel.no_timing o Toplevel.unknown_theory |
326 >> (fn cs => Toplevel.no_timing o Toplevel.unknown_theory |
327 o Toplevel.keep ((fn thy => code_deps_cmd thy cs) o Toplevel.theory_of))); |
327 o Toplevel.keep ((fn thy => code_deps_cmd thy cs) o Toplevel.theory_of))); |
328 |
328 |
329 end; |
329 end; |
330 |
330 |