From 1946789ffa982468aff3792417a6918a3e516bea Mon Sep 17 00:00:00 2001 From: Sarah Grebing Date: Mon, 11 Sep 2017 09:32:24 +0200 Subject: [PATCH] Started with the Documentation --- .../edu/kit/iti/formal/psdbg/gui/intro.html | 46 ++++++++++++++++++- website/docs/index.md | 22 +++++++-- 2 files changed, 61 insertions(+), 7 deletions(-) diff --git a/ui/src/main/resources/edu/kit/iti/formal/psdbg/gui/intro.html b/ui/src/main/resources/edu/kit/iti/formal/psdbg/gui/intro.html index 6a231bcd..832cfecd 100644 --- a/ui/src/main/resources/edu/kit/iti/formal/psdbg/gui/intro.html +++ b/ui/src/main/resources/edu/kit/iti/formal/psdbg/gui/intro.html @@ -24,7 +24,7 @@ name. Single '...'and double quotes "..." can both be used.
Single-line comments are start with //. -

KeY Rules

+

KeY Rules/Taclets

All KeY rules can be used as proof command. The following command structure is used to apply single KeY rules onto the sequent of a selected goal node. If no argument is following the proof command the taclet corresponding to this command has to match at most once on the @@ -78,10 +78,52 @@ inst_occ="...").

Macro-Commands

In the KeY system macro commands are proof strategies tailored to specific proof tasks. -The available macro commands are listed below. Using them in a script is similar to using rule commands: +The available macro commands can be found using the command help. +Using them in a script is similar to using rule commands:
MACRONAME (PARAMETERS)?
+Often used macro commands are: + + +Example: + +auto; +

Selectors

+As nited before proof commands are implemented as single goal statements. +Some proof commands split a proof into more than one goal. +To allow to apply proof commands in proof state with more than one proof goal, the language allows for +a selector statement cases. Such a cases-statement has the following structure: +
+cases {
+case MATCHER:
+STATEMENTS
+[default:
+STATEMENTS]?
+} + +

Control Flow Statements

+The script language allows different statements for control-flow. +Control-Flow statements define blocks, therefor it is neccessary to use curly braces after a control-flow statement. + + +