saitti/docs/roska/megakakal/index.md
jt 7afdeaf088
All checks were successful
build / build (push) Successful in 38s
build / deploy (push) Successful in 17s
Formatting
2025-02-06 20:41:24 +02:00

36 lines
518 B
Markdown

# 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 ...