diff options
Diffstat (limited to 'example/example.imp')
-rw-r--r-- | example/example.imp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/example/example.imp b/example/example.imp index e1ddf22..9db6655 100644 --- a/example/example.imp +++ b/example/example.imp @@ -1,4 +1,7 @@ -x := 1; -while x < 10 do - x := (x * 2) -end
\ No newline at end of file +(y := 0; +var x := 5 in + (while x < 10 do + x := (x + 1) + end; + y := x) +end)
\ No newline at end of file |