src/Pure/Isar/isar_syn.ML
changeset 21714 d64cb19c79e2
parent 21705 0f3ad56548bc
child 21726 092b967da9b7
equal deleted inserted replaced
21713:85722dc0fc81 21714:d64cb19c79e2
   671 
   671 
   672 val pretty_setmarginP =
   672 val pretty_setmarginP =
   673   OuterSyntax.improper_command "pretty_setmargin" "change default margin for pretty printing"
   673   OuterSyntax.improper_command "pretty_setmargin" "change default margin for pretty printing"
   674     K.diag (P.nat >> (Toplevel.no_timing oo IsarCmd.pretty_setmargin));
   674     K.diag (P.nat >> (Toplevel.no_timing oo IsarCmd.pretty_setmargin));
   675 
   675 
       
   676 val helpP =
       
   677   OuterSyntax.improper_command "help" "print outer syntax commands" K.diag
       
   678     (Scan.succeed (Toplevel.no_timing o OuterSyntax.print_commands));
       
   679 
   676 val print_commandsP =
   680 val print_commandsP =
   677   OuterSyntax.improper_command "print_commands" "print outer syntax (global)" K.diag
   681   OuterSyntax.improper_command "print_commands" "print outer syntax commands" K.diag
   678     (Scan.succeed (Toplevel.no_timing o OuterSyntax.print_commands));
   682     (Scan.succeed (Toplevel.no_timing o OuterSyntax.print_commands));
   679 
   683 
   680 val print_contextP =
   684 val print_contextP =
   681   OuterSyntax.improper_command "print_context" "print theory context name" K.diag
   685   OuterSyntax.improper_command "print_context" "print theory context name" K.diag
   682     (Scan.succeed (Toplevel.no_timing o IsarCmd.print_context));
   686     (Scan.succeed (Toplevel.no_timing o IsarCmd.print_context));
   931   done_proofP, skip_proofP, forget_proofP, deferP, preferP, applyP,
   935   done_proofP, skip_proofP, forget_proofP, deferP, preferP, applyP,
   932   apply_endP, proofP, alsoP, finallyP, moreoverP, ultimatelyP, backP,
   936   apply_endP, proofP, alsoP, finallyP, moreoverP, ultimatelyP, backP,
   933   cannot_undoP, clear_undosP, redoP, undos_proofP, undoP, killP,
   937   cannot_undoP, clear_undosP, redoP, undos_proofP, undoP, killP,
   934   interpretationP, interpretP,
   938   interpretationP, interpretP,
   935   (*diagnostic commands*)
   939   (*diagnostic commands*)
   936   pretty_setmarginP, print_commandsP, print_contextP, print_theoryP,
   940   pretty_setmarginP, helpP, print_commandsP, print_contextP,
   937   print_syntaxP, print_factsP, print_theoremsP, print_localesP,
   941   print_theoryP, print_syntaxP, print_factsP, print_theoremsP,
   938   print_localeP, print_registrationsP, print_attributesP,
   942   print_localesP, print_localeP, print_registrationsP,
   939   print_simpsetP, print_rulesP, print_induct_rulesP,
   943   print_attributesP, print_simpsetP, print_rulesP,
   940   print_trans_rulesP, print_methodsP, print_antiquotationsP,
   944   print_induct_rulesP, print_trans_rulesP, print_methodsP,
   941   class_depsP, thm_depsP, find_theoremsP, print_bindsP, print_casesP,
   945   print_antiquotationsP, class_depsP, thm_depsP, find_theoremsP,
   942   print_stmtsP, print_thmsP, print_prfsP, print_full_prfsP,
   946   print_bindsP, print_casesP, print_stmtsP, print_thmsP, print_prfsP,
   943   print_propP, print_termP, print_typeP,
   947   print_full_prfsP, print_propP, print_termP, print_typeP,
   944   (*system commands*)
   948   (*system commands*)
   945   cdP, pwdP, use_thyP, use_thy_onlyP, update_thyP, update_thy_onlyP,
   949   cdP, pwdP, use_thyP, use_thy_onlyP, update_thyP, update_thy_onlyP,
   946   touch_thyP, touch_all_thysP, touch_child_thysP, remove_thyP,
   950   touch_thyP, touch_all_thysP, touch_child_thysP, remove_thyP,
   947   kill_thyP, display_draftsP, print_draftsP, prP, disable_prP,
   951   kill_thyP, display_draftsP, print_draftsP, prP, disable_prP,
   948   enable_prP, commitP, quitP, exitP, init_toplevelP, welcomeP];
   952   enable_prP, commitP, quitP, exitP, init_toplevelP, welcomeP];