515 val print_casesP = |
514 val print_casesP = |
516 OuterSyntax.improper_command "print_cases" "print cases of proof context" K.diag |
515 OuterSyntax.improper_command "print_cases" "print cases of proof context" K.diag |
517 (Scan.succeed IsarCmd.print_cases); |
516 (Scan.succeed IsarCmd.print_cases); |
518 |
517 |
519 val print_thmsP = |
518 val print_thmsP = |
520 OuterSyntax.improper_command "thm" "print theorems" K.diag (P.xthms1 >> IsarCmd.print_thms); |
519 OuterSyntax.improper_command "thm" "print theorems" K.diag |
|
520 (opt_modes -- P.xthms1 >> IsarCmd.print_thms); |
521 |
521 |
522 val print_propP = |
522 val print_propP = |
523 OuterSyntax.improper_command "prop" "read and print proposition" K.diag |
523 OuterSyntax.improper_command "prop" "read and print proposition" K.diag |
524 (P.term >> IsarCmd.print_prop); |
524 (opt_modes -- P.term >> IsarCmd.print_prop); |
525 |
525 |
526 val print_termP = |
526 val print_termP = |
527 OuterSyntax.improper_command "term" "read and print term" K.diag |
527 OuterSyntax.improper_command "term" "read and print term" K.diag |
528 (P.term >> IsarCmd.print_term); |
528 (opt_modes -- P.term >> IsarCmd.print_term); |
529 |
529 |
530 val print_typeP = |
530 val print_typeP = |
531 OuterSyntax.improper_command "typ" "read and print type" K.diag |
531 OuterSyntax.improper_command "typ" "read and print type" K.diag |
532 (P.typ >> IsarCmd.print_type); |
532 (opt_modes -- P.typ >> IsarCmd.print_type); |
533 |
533 |
534 |
534 |
535 |
535 |
536 (** system commands (for interactive mode only) **) |
536 (** system commands (for interactive mode only) **) |
537 |
537 |
637 ml_commandP, ml_setupP, setupP, parse_ast_translationP, |
637 ml_commandP, ml_setupP, setupP, parse_ast_translationP, |
638 parse_translationP, print_translationP, typed_print_translationP, |
638 parse_translationP, print_translationP, typed_print_translationP, |
639 print_ast_translationP, token_translationP, oracleP, |
639 print_ast_translationP, token_translationP, oracleP, |
640 (*proof commands*) |
640 (*proof commands*) |
641 theoremP, lemmaP, showP, haveP, thusP, henceP, assumeP, presumeP, |
641 theoremP, lemmaP, showP, haveP, thusP, henceP, assumeP, presumeP, |
642 defP, fixP, letP, caseP, thenP, thenceP, fromP, withP, noteP, |
642 defP, fixP, letP, caseP, thenP, fromP, withP, noteP, beginP, endP, |
643 beginP, endP, nextP, qedP, terminal_proofP, immediate_proofP, |
643 nextP, qedP, terminal_proofP, immediate_proofP, default_proofP, |
644 default_proofP, skip_proofP, forget_proofP, deferP, preferP, applyP, |
644 skip_proofP, forget_proofP, deferP, preferP, applyP, apply_endP, |
645 apply_endP, proofP, alsoP, finallyP, backP, cannot_undoP, |
645 proofP, alsoP, finallyP, backP, cannot_undoP, clear_undosP, redoP, |
646 clear_undosP, redoP, undos_proofP, kill_proofP, undoP, |
646 undos_proofP, kill_proofP, undoP, |
647 (*diagnostic commands*) |
647 (*diagnostic commands*) |
648 pretty_setmarginP, print_commandsP, print_contextP, print_theoryP, |
648 pretty_setmarginP, print_commandsP, print_contextP, print_theoryP, |
649 print_syntaxP, print_theoremsP, print_attributesP, print_methodsP, |
649 print_syntaxP, print_theoremsP, print_attributesP, print_methodsP, |
650 thms_containingP, print_bindsP, print_lthmsP, print_casesP, |
650 thms_containingP, print_bindsP, print_lthmsP, print_casesP, |
651 print_thmsP, print_propP, print_termP, print_typeP, |
651 print_thmsP, print_propP, print_termP, print_typeP, |