2015-10-19 14:10:38 +02:00
|
|
|
if_true(0)
|
2015-10-09 16:28:13 +02:00
|
|
|
fourty = 10
|
2015-09-18 20:55:02 +02:00
|
|
|
else
|
2015-10-09 16:28:13 +02:00
|
|
|
twenty = 5
|
2015-09-18 20:55:02 +02:00
|
|
|
end
|
|
|
|
-- -- --
|
2015-10-19 14:21:23 +02:00
|
|
|
s(:if_statement, :true,
|
2015-10-09 16:28:13 +02:00
|
|
|
s(:condition,
|
|
|
|
s(:int, 0)),
|
|
|
|
s(:true_statements,
|
|
|
|
s(:assignment,
|
|
|
|
s(:name, :fourty),
|
|
|
|
s(:int, 10))),
|
|
|
|
s(:false_statements,
|
|
|
|
s(:assignment,
|
|
|
|
s(:name, :twenty),
|
|
|
|
s(:int, 5))))
|