more debugging

This commit is contained in:
Torsten Ruger 2015-11-04 20:28:37 +02:00
parent 9c637243ff
commit cfc5163fb6
3 changed files with 10 additions and 4 deletions

View File

@ -3,10 +3,10 @@ class Object
int main() int main()
int i = 5 int i = 5
while_plus(i) while_plus(i)
"out".putstring() "out ".putstring()
i = i - 1 i = i - 1
end end
return i return i
end end
end end

6
codes/hello_world.soml Normal file
View File

@ -0,0 +1,6 @@
class Object
int main()
"Hello World".putstring()
return 1
end
end

View File

@ -1,7 +1,7 @@
class Object class Object
int main() int main()
int n = 10 int n = 14
if_zero( n - 12) if_plus( n - 12)
"then".putstring() "then".putstring()
else else
"else".putstring() "else".putstring()