2017-02-23 21:06:49 +03:00
|
|
|
(Program
|
|
|
|
(Module
|
|
|
|
(Identifier))
|
2017-11-01 02:14:55 +03:00
|
|
|
(Function
|
|
|
|
(Empty)
|
|
|
|
(Identifier)
|
|
|
|
(
|
|
|
|
(For
|
|
|
|
(Empty)
|
|
|
|
(Empty)
|
|
|
|
(Empty)
|
|
|
|
(
|
|
|
|
(Call
|
|
|
|
(Identifier)
|
|
|
|
(Empty))
|
|
|
|
(Goto
|
|
|
|
(Identifier))))
|
|
|
|
{+(ForEach
|
|
|
|
{+(Identifier)+}
|
|
|
|
{+(Identifier)+}
|
|
|
|
{+(
|
|
|
|
{+(Call
|
|
|
|
{+(Identifier)+}
|
|
|
|
{+(Empty)+})+}
|
|
|
|
{+(Break
|
|
|
|
{+(Identifier)+})+})+})+}
|
|
|
|
{+(For
|
|
|
|
{+(Empty)+}
|
|
|
|
{+(Empty)+}
|
|
|
|
{+(Empty)+}
|
|
|
|
{+(
|
|
|
|
{+(Call
|
|
|
|
{+(Identifier)+}
|
|
|
|
{+(Empty)+})+}
|
|
|
|
{+(Continue
|
|
|
|
{+(Identifier)+})+})+})+}
|
|
|
|
(For
|
|
|
|
{ (Assignment
|
|
|
|
{-(Identifier)-}
|
|
|
|
{-(Integer)-})
|
|
|
|
->(LessThan
|
|
|
|
{+(Identifier)+}
|
|
|
|
{+(Integer)+}) }
|
|
|
|
{ (LessThan
|
|
|
|
{-(Identifier)-}
|
|
|
|
{-(Integer)-})
|
|
|
|
->(PostIncrement
|
|
|
|
{+(Identifier)+}) }
|
|
|
|
{ (PostIncrement
|
|
|
|
{-(Identifier)-})
|
|
|
|
->(Empty) }
|
|
|
|
(
|
|
|
|
(Call
|
|
|
|
(Identifier)
|
|
|
|
(Empty))
|
|
|
|
{+(Continue
|
|
|
|
{+(Empty)+})+}
|
|
|
|
{-(Break
|
|
|
|
{-(Identifier)-})-}))
|
|
|
|
{+(For
|
|
|
|
{+(Empty)+}
|
|
|
|
{+(Empty)+}
|
|
|
|
{+(Empty)+}
|
|
|
|
{+(
|
|
|
|
{+(Call
|
|
|
|
{+(Identifier)+}
|
|
|
|
{+(Identifier)+}
|
|
|
|
{+(Empty)+})+}
|
|
|
|
{+(Break
|
|
|
|
{+(Empty)+})+})+})+}
|
|
|
|
{+(ForEach
|
|
|
|
{+(
|
|
|
|
{+(Identifier)+}
|
|
|
|
{+(Identifier)+})+}
|
|
|
|
{+(Identifier)+}
|
|
|
|
{+(Call
|
|
|
|
{+(Identifier)+}
|
|
|
|
{+(Identifier)+}
|
|
|
|
{+(Identifier)+}
|
|
|
|
{+(Empty)+})+})+}
|
|
|
|
{+(ForEach
|
|
|
|
{+(
|
|
|
|
{+(Identifier)+}
|
|
|
|
{+(Identifier)+})+}
|
|
|
|
{+(Identifier)+}
|
|
|
|
{+(Call
|
|
|
|
{+(Identifier)+}
|
|
|
|
{+(Identifier)+}
|
|
|
|
{+(Identifier)+}
|
|
|
|
{+(Empty)+})+})+}
|
|
|
|
{+(ForEach
|
|
|
|
{+(Empty)+}
|
|
|
|
{+(Identifier)+}
|
|
|
|
{+([])+})+}
|
|
|
|
{-(For
|
|
|
|
{-(LessThan
|
|
|
|
{-(Identifier)-}
|
|
|
|
{-(Integer)-})-}
|
|
|
|
{-(PostIncrement
|
|
|
|
{-(Identifier)-})-}
|
|
|
|
{-(Empty)-}
|
|
|
|
{-(
|
|
|
|
{-(Call
|
|
|
|
{-(Identifier)-}
|
|
|
|
{-(Empty)-})-}
|
|
|
|
{-(Continue
|
|
|
|
{-(Identifier)-})-})-})-}
|
|
|
|
{-(For
|
|
|
|
{-(Empty)-}
|
|
|
|
{-(Empty)-}
|
|
|
|
{-(Empty)-}
|
|
|
|
{-(
|
|
|
|
{-(Call
|
|
|
|
{-(Identifier)-}
|
|
|
|
{-(Empty)-})-}
|
|
|
|
{-(Continue
|
|
|
|
{-(Empty)-})-})-})-}
|
|
|
|
{-(ForEach
|
|
|
|
{-(Identifier)-}
|
|
|
|
{-(Identifier)-}
|
|
|
|
{-(
|
|
|
|
{-(Call
|
|
|
|
{-(Identifier)-}
|
|
|
|
{-(Identifier)-}
|
|
|
|
{-(Empty)-})-}
|
|
|
|
{-(Break
|
|
|
|
{-(Empty)-})-})-})-}
|
|
|
|
{-(ForEach
|
|
|
|
{-(
|
|
|
|
{-(Identifier)-}
|
|
|
|
{-(Identifier)-})-}
|
|
|
|
{-(Identifier)-}
|
|
|
|
{-(Call
|
|
|
|
{-(Identifier)-}
|
|
|
|
{-(Identifier)-}
|
|
|
|
{-(Identifier)-}
|
|
|
|
{-(Empty)-})-})-}
|
|
|
|
{-(ForEach
|
|
|
|
{-(
|
|
|
|
{-(Identifier)-}
|
|
|
|
{-(Identifier)-})-}
|
|
|
|
{-(Identifier)-}
|
|
|
|
{-(Call
|
|
|
|
{-(Identifier)-}
|
|
|
|
{-(Identifier)-}
|
|
|
|
{-(Identifier)-}
|
|
|
|
{-(Empty)-})-})-}
|
|
|
|
{-(ForEach
|
|
|
|
{-(Empty)-}
|
|
|
|
{-(Identifier)-}
|
|
|
|
{-([])-})-})))
|