After sleeping on it, I have thought better of my original suggestion below so please refer to operators for my definitive thoughts on shift operators.

Tristan Griffith, 2007/06/01 02:59


My first thought was that ZOMG could potentially be an assert(), but this could probably be accomplished using IZ and diaf.

A better idea is that ZOMG and OMGZ could be shift operators using either numbers to say how many bits to shift or use !'s and 1's, where !'s are bits and 1's are nybbles. I'm assuming the !'s and 1's could be in any order/combination.

Using numbers:

BTW left shift VAR by 3 bits
VAR ZOMG 3

BTW logical right shift by 5 bits
VAR OMGZ 5

BTW arithematic right shift by 17 bits
VAR OMFGZ 17

Using !'s and 1's:

BTW left shift VAR by 3 bits
VAR ZOMG!!!

BTW logical right shift by 5 bits
VAR OMGZ!1

BTW arithematic right shift by 17 bits
VAR OMFGZ!1!!!1!!!!!

Tristan Griffith, 2007/05/31 03:04

I still like the idea of using ZOMG for assertions and wanted to suggest something like the following:

ZOMG VAR IZ SMALLER THAN HUGENUM?
    INVISIBLE "I IS SERIOUS APP. I HAS SERIOUS PROBLEM."
    KTHXBYE

Ian M., 2007/06/01 08:51


I've made a suggestion involving ZOMG as an event handler, along with OMG as an event definition keyword over in omg. Since it involves multiple possible keywords (also ONOES), I'm referencing it twice.

Solarbird, 2007/06/02 11:56