more debugging
This commit is contained in:
parent
9c637243ff
commit
cfc5163fb6
@ -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
6
codes/hello_world.soml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
class Object
|
||||||
|
int main()
|
||||||
|
"Hello World".putstring()
|
||||||
|
return 1
|
||||||
|
end
|
||||||
|
end
|
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user