Talk:LOLCODE

Suggestions for Syntax/Spec Changes
It appears that BUKKIT is more analogous to struct or record in other languages, rather than array. Should this be changed in the description spec?

For an actual array, perhaps a syntax such as      I HAS A &lt;var&gt; ITZ A SHELF, BTW possibly allow typed arrays: I HAS A &lt;var&gt; ITZ A SHELF OF &lt;type&gt; for declaration, and &lt;var&gt; R [THE] 'TH BOKS ON , BTW THE is optional. Apostrophe is mandatory, separates TH from numbr, which could be a variable of type NUMBR - THE J'TH BOKS ON ... for retrieval, and [THE] 'TH BOKS ON  R    for assignment should be considered. (SHELF instead of BUKKIT, as changing the BUKKIT to this would be a breaking change)

There is also the possibility of a set type: I HAS A &lt;var&gt; ITZ A BAG, BTW typed sets possibly: I HAS A &lt;var&gt; ITZ A BAG OF &lt;type&gt; for declaration, PUT IN  to include a value in the set, (does not throw an error if it's already in the set) TAEK OUTTA  to exclude a value from the set (does not throw an error if it's not in the set) IZ IN , O RLY? ...   to test whether a value is in the set. Freetrav (talk) 14:08, 8 May 2018 (UTC)