17 lines
255 B
Scilab
17 lines
255 B
Scilab
while(1)
|
|
tmp = a
|
|
puts(b)
|
|
end
|
|
-- -- --
|
|
s(:while_statement,
|
|
s(:condition,
|
|
s(:int, 1)),
|
|
s(:statements,
|
|
s(:assignment,
|
|
s(:name, :tmp),
|
|
s(:name, :a)),
|
|
s(:call,
|
|
s(:name, :puts),
|
|
s(:arguments,
|
|
s(:name, :b)))))
|