From 40cccdb7cc472ee6300c25e1774a8489e9107f6a Mon Sep 17 00:00:00 2001 From: Flavian Kaufmann Date: Tue, 20 May 2025 21:29:50 +0200 Subject: repl --- example/example.imp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'example') 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 -- cgit v1.2.3