commit 7c6460c
0uppy
·
2026-09-12 19:48:29 +0000 UTC
parent d5a548e
docs - updated the docs again to be up-to-date with loops being added to cot :P
1 files changed,
+4,
-0
+4,
-0
1@@ -46,6 +46,10 @@ Pops a value, if it's not zero, then it executes the block after it
2 Executes if the prior if evaluated to zero
3 .It Ic end
4 Closes an if or else block
5+.It Ic loop
6+Starts a loop
7+.It Ic until
8+Jumps back to it's correspondent loop statement while the condition is false, then it falls through once the condition is true
9 .El
10
11 NOTE: some of the commands above are subject to change given that cot(ton) has yet to reach it's first stable release - even then, any update to any command will be doccumented here and i will also do my best to not break the whole syntax every update ;w;