mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-30 18:48:18 +00:00
Implemented control constructs
This commit is contained in:
commit
a60a491e73
23 changed files with 487 additions and 9 deletions
8
regression/test023.expr
Normal file
8
regression/test023.expr
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
s := 0;
|
||||
|
||||
repeat
|
||||
read (n);
|
||||
s := s + n
|
||||
until n == 0;
|
||||
|
||||
write (s)
|
||||
Loading…
Add table
Add a link
Reference in a new issue