Implemented control constructs

This commit is contained in:
Dmitry Boulytchev 2018-03-20 20:30:58 +03:00
commit a60a491e73
23 changed files with 487 additions and 9 deletions

8
regression/test023.expr Normal file
View file

@ -0,0 +1,8 @@
s := 0;
repeat
read (n);
s := s + n
until n == 0;
write (s)