fix all the cases, much white noise, array to list, string to sym stuff

This commit is contained in:
Torsten Ruger
2015-09-19 14:53:30 +03:00
parent 3b0b91f2fb
commit 21b652456d
78 changed files with 690 additions and 559 deletions

View File

@@ -3,20 +3,21 @@ while(1)
tmp.puts(i)
end
-- -- --
s(:list, [s(:while,
s(:condition,
s(:int, 1)),
s(:expressions,
s(:assign,
s(:name, "tmp"),
s(:expressions,
s(:while,
s(:condition,
s(:int, 1)),
s(:expressions,
s(:assign,
s(:name, :tmp),
s(:call,
s(:name, :new),
s(:arguments),
s(:receiver,
s(:module, "String")))),
s(:call,
s(:name, "new"),
s(:arguments),
s(:name, :puts),
s(:arguments,
s(:name, :i)),
s(:receiver,
s(:module, "String")))),
s(:call,
s(:name, "puts"),
s(:arguments,
s(:name, "i")),
s(:receiver,
s(:name, "tmp")))))])
s(:name, :tmp))))))