soml-parser/test/cases/while/while.tst

17 lines
274 B
Scilab
Raw Normal View History

while(1)
tmp = a
puts(b)
end
-- -- --
s(:list, [s(:while,
s(:condition,
s(:int, 1)),
s(:expressions,
s(:assign,
s(:name, "tmp"),
s(:name, "a")),
s(:call,
s(:name, "puts"),
s(:arguments,
s(:name, "b")))))])