Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
ProofScriptParser
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
24
Issues
24
List
Boards
Labels
Service Desk
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sarah.grebing
ProofScriptParser
Commits
40e5a455
Commit
40e5a455
authored
Sep 11, 2017
by
Alexander Weigl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
language for website
parent
5c39bc2a
Pipeline
#13554
failed with stage
in 2 minutes and 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
4 deletions
+30
-4
website/docs/language.md
website/docs/language.md
+30
-4
No files found.
website/docs/language.md
View file @
40e5a455
#
<h1>
Language Constructs
# Language Constructs
Proof scripts are textual representations of rule applications, settings changes
and macro invocations.
...
...
@@ -21,14 +21,40 @@ A script variable has a name, a type and a value.
Variables are declared by
```
var0 : type
var1 : type := value
var0 : type;
var1 : type := value;
var2 := value;
```
Both statements declare a variable, in the later we directly assign a value, in
the first form
`var0`
receives a default value.
### Types and Literals
We have following types:
`INT`
,
`Term<Sort>`
,
`String`
We have following types:
`INT`
,
`TERM<Sort>`
,
`String`
.
*
`INT`
represents integer of arbitrary size.
```
42
-134
```
*
`TERM<S>`
represents a term of sort
`S`
in KeY.
`S`
can be any sort of KeY. If the sort is ommitied, then
`S=Any`
.
```
`f(x)`
`g(a)`
`imp(p,q)`
```
*
`STRING`
```
"i am a string"
```
### Special Variables
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment