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