summaryrefslogtreecommitdiff
path: root/paper/While/Simple.dcl
blob: 5a08e8505ade7f9c633d1f8c7ff049a78be279cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
definition module Simple

from StdOverloaded import class toString
import WhileCommon

:: Stm = Ass Var AExpr
       | If BExpr Stm Stm
       | While BExpr Stm
       | Skip
       | Compose Stm Stm

instance toString Stm
instance run Stm