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 i = 5
while_plus(i)
"out".putstring()
"out ".putstring()
i = i - 1
end
return i
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
int main()
int n = 10
if_zero( n - 12)
int n = 14
if_plus( n - 12)
"then".putstring()
else
"else".putstring()