COUNT!!1
HAI CAN HAS STDIO? I HAS A VAR IM IN YR LOOP UP VAR!!1 VISIBLE VAR IZ VAR BIGGER THAN 10? KTHXBYE IM OUTTA YR LOOP KTHXBYE
We've seen HAI, KTHXBYE, CAN HAS, and VISIBLE already in the listing for HAI WORLD. We learn a bit about variables in this one.
- Declaration is handled with I HAS A. The (dynamically typed) variable follows.
- IM IN YR and IM OUTTA YR clearly demarcate a loop construct.
LOOPin this example is simply a label. - UP is an increment operator. The (optional, default=1) argument follows
!! - BIGGER THAN is a comparator.
Early consensus from the first irc meeting suggests a slight change from the original code:
HAI CAN HAS STDIO? I HAS A VAR IM IN YR LOOP UPZ VAR!!1 VISIBLE VAR IZ VAR BIGR THAN 10? GTFO. KTHX KTHX KTHXBYE
Further language features are still pending.