Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rybla/empirior

A simple imperitive language supporting gradual Hoare-logical verification.
https://github.com/rybla/empirior

Last synced: about 4 hours ago
JSON representation

A simple imperitive language supporting gradual Hoare-logical verification.

Awesome Lists containing this project

README

        

# Empirior

A simple imperitive language supporting gradual Hoare-logical verification.

## Grammar

```
::=

::=
| function ([ : ])
| predicate ([ : ])
| assert
| if { } else { }
| while { }
| fold ( [] ) // fold predication
| unfold ( [] ) // unfold predication
| : // variable declaration
| := // variable assignment
| return
| ;
| skip

::=
| ? /\ // imprecise formula
|

::=
|
| ~ // negation
|
| ( [] ) // predication
| if then else
| unfolding ( [] ) in // unfolding predication

::= /\ | \/

::=
|
| // variable
|
| ( [] )

::=
| + | - | *
| > | >= | < | <= | = | !=
| && | ||

::=
| unit
|
|

::=
| Void
| Unit
| Boolean
| Integer
| Function ([]) -> Type
| Predicate ([])

::=
```