drafting megakakal
All checks were successful
build / build (push) Successful in 48s
build / deploy (push) Successful in 16s

This commit is contained in:
jt@jakest.us 2025-02-06 20:37:00 +02:00
parent 5c62cbff7a
commit 88ec4b2af4

View file

@ -0,0 +1,36 @@
# MegaKakal
rOSka official programmin language. Embracing simplicity and compiling
into assembly.
!!! WARNING
This is a spec draft. Nothing is made yet
## if
else is just a part you jump over in assembly lol, so EZ XD
'''
if (condition) {
...
} else {
...
}
'''
## loop
We have only a single type of loop where you are responsible to decide when
to check and how to exit. Break is just a goto:after-loop ?
'''
loop {
...
if (condition) {
break;
}
}
'''
## func, label ...
## goto, call, return ...