whilespace in s-exps

This commit is contained in:
Torsten Ruger
2016-12-10 23:07:04 +02:00
parent 99454b3efe
commit fa0e279620
17 changed files with 55 additions and 345 deletions

View File

@ -11,18 +11,7 @@ class Space
end
end
HERE
@input = s(:statements,
s(:class, :Space,
s(:derives, nil),
s(:statements,
s(:function, :Integer,
s(:name, :main),
s(:parameters),
s(:statements,
s(:return,
s(:operator_value, :+,
s(:int, 5),
s(:int, 7))))))))
@input = s(:statements, s(:class, :Space, s(:derives, nil), s(:statements, s(:function, :Integer, s(:name, :main), s(:parameters), s(:statements, s(:return, s(:operator_value, :+, s(:int, 5), s(:int, 7))))))))
super
end