changeset 5991 | 832ec852fc4e |
parent 5958 | c48efb523a4d |
child 6013 | 6da9ae6d40f5 |
5990:8b6de9bd7d72 | 5991:832ec852fc4e |
---|---|
487 (opt_unit >> (K IsarCmd.quit)); |
487 (opt_unit >> (K IsarCmd.quit)); |
488 |
488 |
489 val exitP = |
489 val exitP = |
490 OuterSyntax.parser true "exit" "exit Isar loop" |
490 OuterSyntax.parser true "exit" "exit Isar loop" |
491 (Scan.succeed IsarCmd.exit); |
491 (Scan.succeed IsarCmd.exit); |
492 |
|
493 val restartP = |
|
494 OuterSyntax.parser true "restart" "restart Isar loop" |
|
495 (Scan.succeed IsarCmd.restart); |
|
492 |
496 |
493 val breakP = |
497 val breakP = |
494 OuterSyntax.parser true "break" "discontinue excursion (keep current state)" |
498 OuterSyntax.parser true "break" "discontinue excursion (keep current state)" |
495 (Scan.succeed IsarCmd.break); |
499 (Scan.succeed IsarCmd.break); |
496 |
500 |
526 (*diagnostic commands*) |
530 (*diagnostic commands*) |
527 print_commandsP, print_theoryP, print_syntaxP, print_attributesP, |
531 print_commandsP, print_theoryP, print_syntaxP, print_attributesP, |
528 print_methodsP, print_theoremsP, print_bindsP, print_lthmsP, |
532 print_methodsP, print_theoremsP, print_bindsP, print_lthmsP, |
529 print_thmsP, print_propP, print_termP, print_typeP, |
533 print_thmsP, print_propP, print_termP, print_typeP, |
530 (*system commands*) |
534 (*system commands*) |
531 cdP, pwdP, use_thyP, loadP, prP, commitP, quitP, exitP, breakP]; |
535 cdP, pwdP, use_thyP, loadP, prP, commitP, quitP, exitP, restartP, breakP]; |
532 |
536 |
533 |
537 |
534 end; |
538 end; |
535 |
539 |
536 |
540 |